QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#516536#8209. Curly PalindromesMaMengQiCompile Error//C++111.2kb2024-08-12 18:04:542024-08-12 18:04:55

Details

answer.code: In function ‘int main()’:
answer.code:28:9: error: ‘t’ was not declared in this scope
   28 |         t[1].pk(st[i]);
      |         ^
answer.code:31:20: error: ‘t’ was not declared in this scope
   31 |         for(auto x:t[i])
      |                    ^
answer.code:23:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   23 |     scanf("%d",&n);int len=s.size();
      |     ~~~~~^~~~~~~~~
answer.code:27:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   27 |         scanf("%lld %lld %c",&st[i].x,&st[i].y,&c);num=c-'a';st[i].name=i;
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~