QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#493594 | #5934. Minesweeper Master | ZhangYiDe | Compile Error | / | / | C++17 | 3.4kb | 2024-07-27 10:51:02 | 2024-07-27 10:51:03 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:7:9: error: ‘scanf’ was not declared in this scope 7 | scanf("%d", &t); | ^~~~~ answer.code:10:17: error: ‘printf’ was not declared in this scope 10 | printf("Case #%lld:\n", ++cas); | ^~~~~~ answer.code:1:1: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’? +++ |+#include <cstdio> 1 | #define ll long long answer.code:65:37: error: ‘max’ was not declared in this scope 65 | if (max(i, q) <= max(r, c) && min(i, q) <= min(r, c)) { | ^~~ answer.code:65:63: error: ‘min’ was not declared in this scope; did you mean ‘main’? 65 | if (max(i, q) <= max(r, c) && min(i, q) <= min(r, c)) { | ^~~ | main answer.code:73:33: error: ‘swap’ was not declared in this scope 73 | if (r > c && p < q) swap(p, q); | ^~~~ answer.code:74:38: error: ‘swap’ was not declared in this scope 74 | else if (r < c && p > q) swap(p, q); | ^~~~