QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#364881 | #8057. Best Carry Player 4 | ZhaoZiLong | Compile Error | / | / | C++11 | 1.6kb | 2024-03-24 17:05:45 | 2024-03-24 17:05:46 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:7:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] 7 | main(){ | ^~~~ answer.code: In function ‘int main()’: answer.code:12:31: error: ‘n’ was not declared in this scope; did you mean ‘yn’? 12 | cout<<n; | ^ | yn answer.code:21:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 21 | scanf("%lld",&a[i]); | ~~~~~^~~~~~~~~~~~~~ answer.code:25:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 25 | scanf("%lld",&b[i]); | ~~~~~^~~~~~~~~~~~~~