QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#486665 | #8892. Power Grid | egypt_ioi2024_02# | Compile Error | / | / | C++20 | 2.5kb | 2024-07-21 22:45:37 | 2024-07-21 22:45:37 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:1:5: error: ‘bits’ was not declared in this scope 1 | xe <bits/stdc++.h> | ^~~~ answer.code:1:10: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 1 | xe <bits/stdc++.h> | ^~~~ | std answer.code:1:5: error: ‘bits’ was not declared in this scope 1 | xe <bits/stdc++.h> | ^~~~ answer.code:1:10: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 1 | xe <bits/stdc++.h> | ^~~~ | std answer.code:1:5: error: ‘bits’ was not declared in this scope 1 | xe <bits/stdc++.h> | ^~~~ answer.code:1:10: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 1 | xe <bits/stdc++.h> | ^~~~ | std answer.code:1:5: error: ‘bits’ was not declared in this scope 1 | xe <bits/stdc++.h> | ^~~~ answer.code:1:10: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 1 | xe <bits/stdc++.h> | ^~~~ | std answer.code:1:5: error: ‘bits’ was not declared in this scope 1 | xe <bits/stdc++.h> | ^~~~ answer.code:1:10: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 1 | xe <bits/stdc++.h> | ^~~~ | std answer.code:1:5: error: ‘bits’ was not declared in this scope 1 | xe <bits/stdc++.h> | ^~~~ answer.code:1:10: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 1 | xe <bits/stdc++.h> | ^~~~ | std answer.code:1:5: error: ‘bits’ was not declared in this scope 1 | xe <bits/stdc++.h> | ^~~~ answer.code:1:10: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 1 | xe <bits/stdc++.h> | ^~~~ | std answer.code:1:5: error: ‘bits’ was not declared in this scope 1 | xe <bits/stdc++.h> | ^~~~ answer.code:1:10: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 1 | xe <bits/stdc++.h> | ^~~~ | std answer.code:1:5: error: ‘bits’ was not declared in this scope 1 | xe <bits/stdc++.h> | ^~~~ answer.code:1:10: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 1 | xe <bits/stdc++.h> | ^~~~ | std answer.code:1:1: error: ‘xe’ does not name a type 1 | xe <bits/stdc++.h> | ^~ answer.code:13:1: error: ‘mt19937’ does not name a type 13 | mt19937 rng(2006); | ^~~~~~~ answer.code: In function ‘void fillc(int, int)’: answer.code:19:57: error: ‘abs’ was not declared in this scope 19 | if (filledr[x] && filledc[j] && abs(sumr[x] - sumc[j]) != c[x][j]) { | ^~~ answer.code: In function ‘void fillr(int, int)’: answer.code:55:57: error: ‘abs’ was not declared in this scope 55 | if (filledr[i] && filledc[y] && abs(sumr[i] - sumc[y]) != c[i][y]) { | ^~~ answer.code: In function ‘void solve()’: answer.code:88:9: error: ‘vector’ was not declared in this scope 88 | vector<int> gudr, gudc; | ^~~~~~ answer.code:88:16: error: expected primary-expression before ‘int’ 88 | vector<int> gudr, gudc; | ^~~ answer.code:91:25: error: ‘gudr’ was not declared in this scope 91 | gudr.push_back(i); | ^~~~ answer.code:96:25: error: ‘gudc’ was not declared in this scope 96 | gudc.push_back(i); | ^~~~ answer.code:99:13: error: ‘gudr’ was not declared in this scope 99 | if (gudr.empty() && gudc.empty()) { | ^~~~ answer.code:99:29: error: ‘gudc’ was not declared in this scope 99 | if (gudr.empty() && gudc.empty()) { | ^~~~ answer.code:102:33: error: ‘cout’ was not declared in this scope 102 | cout << a[i][j] << ' '; | ^~~~ answer.code:104:25: error: ‘cout’ was not declared in this scope 104 | cout << '\n'; | ^~~~ answer.code:106:17: error: ‘exit’ was not declared in this scope 106 | exit(0); | ^~~~ answer.code:1:1: note: ‘exit’ is defined in header ‘<cstdlib>’; did you forget to ‘#include <cstdlib>’? +++ |+#include <cstdlib> 1 | xe <bits/stdc++.h> answer.code:108:16: error: ‘gudr’ was not declared in this scope 108 | if (SZ(gudr) > SZ(gudc)) { | ^~~~ answer.code:4:21: note: in definition of macro ‘SZ’ 4 | #define SZ(x) (int) x.size() | ^ answer.code:108:27: error: ‘gudc’ was not declared in this scope 108 | if (SZ(gudr) > SZ(gudc)) { | ^~...