QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#39298#241. Chiaki Sequence RevisitedZhangYiDeCompile Error//C++11721b2022-07-09 11:39:102022-07-09 11:39:13

Details

answer.code: In function ‘int main()’:
answer.code:51:42: error: ‘ac’ was not declared in this scope
   51 |                 for(++k;lg(lb(k))<=n;++k)ac
      |                                          ^~
answer.code:44:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   44 |         scanf("%d",&t);
      |         ~~~~~^~~~~~~~~
answer.code:47:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   47 |                 scanf("%lld",&n);
      |                 ~~~~~^~~~~~~~~~~