运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
247968 QAQ 1577 - 违抗熵增之人 编译错误 0 0 MS 0 KB C++ 1779 3年前
暂时无法获取本题测试点详情。

Main.cc: In function ‘int main()’:
Main.cc:67:3: error: ‘cin’ was not declared in this scope
67 | cin>>num[i];
| ^~~
Main.cc:64:29: warning: unused variable ‘cpy’ [-Wunused-variable]
64 | int num[8000000] ={0},m,q,cpy[1000]={0};
| ^~~
Main.cc:65:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
65 | scanf("%lld",&n);
| ~~~~~^~~~~~~~~~~
Main.cc:71:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
71 | scanf("%d",&q);
| ~~~~~^~~~~~~~~
Main.cc:74:9: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
74 | scanf("%d",&m);
| ~~~~~^~~~~~~~~