QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#160446#7104. Halting Problemucup-team1550#Compile Error//C++141.5kb2023-09-02 20:28:032023-09-02 20:28:04

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]);
      |                                           ^~~