QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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]); | ~~~~~^~~~~~~~~~~~~~