QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#298176#4433. Kitten and Roombaucup-team2880#Compile Error//C++204.4kb2024-01-05 19:23:132024-01-05 19:23:15

Details

answer.code:160:2: error: ‘wgwrgw’ does not name a type
  160 | }wgwrgw
      |  ^~~~~~
answer.code: In function ‘void work()’:
answer.code:134:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  134 |         scanf("%d%d",&n,&m);
      |         ~~~~~^~~~~~~~~~~~~~
answer.code:136:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  136 |                 scanf("%s",s+1);
      |                 ~~~~~^~~~~~~~~~
answer.code: In function ‘int main()’:
answer.code:154:21: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  154 |         int T; scanf("%d",&T);
      |                ~~~~~^~~~~~~~~