QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#484957 | #7279. Tricks of the Trade | egypt_ioi2024_12# | Compile Error | / | / | C++14 | 441b | 2024-07-20 09:44:14 | 2024-07-20 09:44:16 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:12:5: error: ‘ll’ was not declared in this scope 12 | ll ans=0; | ^~ answer.code:14:11: error: expected ‘;’ before ‘p’ 14 | ll p=0; | ^~ | ; answer.code:16:13: error: ‘p’ was not declared in this scope 16 | p-=a[j];p+=b[j]; | ^ answer.code:18:9: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 18 | ans=max(ans,p); | ^~~ | abs answer.code:18:21: error: ‘p’ was not declared in this scope 18 | ans=max(ans,p); | ^ answer.code:20:11: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 20 | cout<<ans<<endl; | ^~~ | abs