QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#111615 | #5149. Best Carry Player | ZhangYiDe | Compile Error | / | / | C++98 | 912b | 2023-06-07 18:30:02 | 2023-06-07 18:30: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:6:5: error: ‘scanf’ was not declared in this scope; did you mean ‘wscanf’? 6 | scanf("%d", &T); | ^~~~~ | wscanf answer.code:35:9: error: ‘printf’ was not declared in this scope 35 | printf("%d\n", final[j]); | ^~~~~~ answer.code:2:1: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’? 1 | #include <iostream> +++ |+#include <cstdio> 2 | using namespace std;