| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 81563 | 张浩然 | circle | C++ | Wrong Answer | 6 | 1 MS | 256 KB | 249 | 2023-08-09 15:29:33 |
#include<bits/stdc++.h> using namespace std; int n,a,t; int main(){ cin>>t>>n; a=(n*(n-1))/2; if(t==1) cout<<(n*(n-1))/2; if(t==2&&n<4) cout<<0; if(t==2&&n>4) cout<<n*(n-1)/2*(n-2)/3*(n-3)/4; if(t==3) cout<<(n*n+1)/2+3; return 0; }