QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#180654 | #7318. Cute Panda | sdoi | Compile Error | / | / | C++14 | 1.3kb | 2023-09-16 03:32:46 | 2023-09-16 03:32:46 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:1:10: error: #include expects "FILENAME" or <FILENAME> 1 | #include bitsstdc++.h | ^~~~~~~~ answer.code: In function ‘int main()’: answer.code:14:22: error: expected primary-expression before ‘%’ token 14 | while (scanf(%d,&n) != EOF) { | ^ answer.code:14:23: error: ‘d’ was not declared in this scope 14 | while (scanf(%d,&n) != EOF) { | ^ answer.code:14:16: error: ‘scanf’ was not declared in this scope 14 | while (scanf(%d,&n) != EOF) { | ^~~~~ answer.code:14:32: error: ‘EOF’ was not declared in this scope 14 | while (scanf(%d,&n) != EOF) { | ^~~ answer.code:1:1: note: ‘EOF’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’? +++ |+#include <cstdio> 1 | #include bitsstdc++.h answer.code:15:34: error: expected ‘;’ before ‘n’ 15 | for (int i = 0; i n; i++) scanf(%lld,&A[i]); | ^ ~ | ; answer.code:15:37: error: expected ‘)’ before ‘;’ token 15 | for (int i = 0; i n; i++) scanf(%lld,&A[i]); | ~ ^ | ) answer.code:15:39: error: ‘i’ was not declared in this scope 15 | for (int i = 0; i n; i++) scanf(%lld,&A[i]); | ^ answer.code:16:34: error: expected ‘;’ before ‘n’ 16 | for (int i = 0; i n; i++) scanf(%lld,&B[i]); | ^ ~ | ; answer.code:16:37: error: expected ‘)’ before ‘;’ token 16 | for (int i = 0; i n; i++) scanf(%lld,&B[i]); | ~ ^ | ) answer.code:4:19: error: expected ‘)’ before numeric constant 4 | #define INF (1LL 60) | ~ ^~ answer.code:19:30: note: in expansion of macro ‘INF’ 19 | f[0][0][1] = INF; | ^~~ answer.code:4:19: error: expected ‘)’ before numeric constant 4 | #define INF (1LL 60) | ~ ^~ answer.code:20:30: note: in expansion of macro ‘INF’ 20 | f[0][1][0] = INF; | ^~~ answer.code:21:34: error: expected ‘;’ before ‘n’ 21 | for (int i = 1; i n; i++) { | ^ ~ | ; answer.code:21:37: error: expected ‘)’ before ‘;’ token 21 | for (int i = 1; i n; i++) { | ~ ^ | ) answer.code:4:19: error: expected ‘)’ before numeric constant 4 | #define INF (1LL 60) | ~ ^~ answer.code:31:23: note: in expansion of macro ‘INF’ 31 | ans = INF; | ^~~ answer.code:32:32: error: ‘min’ was not declared in this scope; did you mean ‘main’? 32 | ans = min(ans, min(f[n - 1][0][0], f[n - 1][0][1])); | ^~~ | main answer.code:32:23: error: ‘min’ was not declared in this scope; did you mean ‘main’? 32 | ans = min(ans, min(f[n - 1][0][0], f[n - 1][0][1])); | ^~~ | main answer.code:34:24: error: expected primary-expression before ‘%’ token 34 | printf(%lldn,ans); | ^ answer.code:34:25: error: ‘lldn’ was not declared in this scope 34 | printf(%lldn,ans); | ^~~~ answer.code:34:17: error: ‘printf’ was not declared in this scope 34 | printf(%lldn,ans); | ^~~~~~ answer.code:34:17: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?