QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#637990#7034. HoneycombZhangYiDeCompile Error//C++202.0kb2024-10-13 14:34:192024-10-13 14:34:21

Details

answer.code: In function ‘int main()’:
answer.code:63:9: error: ‘gets’ was not declared in this scope; did you mean ‘getw’?
   63 |         gets(s[0]);
      |         ^~~~
      |         getw
answer.code:56:6: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   56 | scanf("%d",&T);
      | ~~~~~^~~~~~~~~
answer.code:60:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   60 |         scanf("%d%d",&n,&m);
      |         ~~~~~^~~~~~~~~~~~~~