QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#507121 | #8635. 圆 | LGMaster | Compile Error | / | / | C++14 | 602b | 2024-08-06 11:13:35 | 2024-08-06 11:13:37 |
Judging History
answer
#include<iostream>
#include<cstdio>
#include<algorithm>
#include<cstring>
#include<cmath>
#include<climits>
//#define int long long
using namespace std;
const int N=5005,mod=998244353;
int n,ans;
inline int read(){
int s=0,f=1;
char ch=getchar();
while(!isdigit(ch)){
if(ch=='-') f=-1;
ch=getchar();
}
while(isdigit(ch)){
s=(s<<3)+(s<<1)+(ch&15);
ch=getchar();
}
return s*f;
}
int main(){
n=read();
if(n<=3) puts("1"),exit(0);
else if(n==4) puts("2"),exit(0);
else puts("114514”);
return 0;
}
Details
answer.code:28:15: warning: missing terminating " character 28 | else puts("114514”); | ^ answer.code:28:15: error: missing terminating " character 28 | else puts("114514”); | ^~~~~~~~~~ answer.code: In function ‘int main()’: answer.code:29:9: error: expected primary-expression before ‘return’ 29 | return 0; | ^~~~~~