QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#33380 | #1265. Total Eclipse | ZhaoZiLong | Compile Error | / | / | C++14 | 1.3kb | 2022-05-31 23:39:38 | 2022-05-31 23:39:40 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:7:1: error: ‘vector’ does not name a type 7 | vector<vector<int>> g; | ^~~~~~ answer.code: In function ‘int main()’: answer.code:23:9: error: ‘g’ was not declared in this scope 23 | g.resize(n+1); | ^ answer.code:20:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 20 | scanf("%d",&t); | ~~~~~^~~~~~~~~ answer.code:22:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 22 | scanf("%d %d",&n,&m); | ~~~~~^~~~~~~~~~~~~~~ answer.code:25:18: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 25 | scanf("%d",&c[i].val); | ~~~~~^~~~~~~~~~~~~~~~ answer.code:31:18: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 31 | scanf("%d %d",&a,&b); | ~~~~~^~~~~~~~~~~~~~~