QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#160446 | #7104. Halting Problem | ucup-team1550# | Compile Error | / | / | C++14 | 1.5kb | 2023-09-02 20:28:03 | 2023-09-02 20:28:04 |
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:48:33: error: ‘vis’ was not declared in this scope 48 | vis[i][j]=0; | ^~~ answer.code:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 14 | #define sci(a) scanf("%d",&(a)) | ~~~~~^~~~~~~~~~~ answer.code:43:9: note: in expansion of macro ‘sci’ 43 | sci(t); | ^~~ answer.code:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 14 | #define sci(a) scanf("%d",&(a)) | ~~~~~^~~~~~~~~~~ answer.code:45:17: note: in expansion of macro ‘sci’ 45 | sci(n); | ^~~ answer.code:52:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 52 | scanf("%s",s); | ~~~~~^~~~~~~~ answer.code:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 14 | #define sci(a) scanf("%d",&(a)) | ~~~~~^~~~~~~~~~~ answer.code:55:33: note: in expansion of macro ‘sci’ 55 | sci(v[i]); | ^~~ answer.code:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 14 | #define sci(a) scanf("%d",&(a)) | ~~~~~^~~~~~~~~~~ answer.code:58:33: note: in expansion of macro ‘sci’ 58 | sci(v[i]);sci(k[i]); | ^~~ answer.code:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 14 | #define sci(a) scanf("%d",&(a)) | ~~~~~^~~~~~~~~~~ answer.code:58:43: note: in expansion of macro ‘sci’ 58 | sci(v[i]);sci(k[i]); | ^~~