QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#39298#241. Chiaki Sequence RevisitedZhangYiDeCompile Error//C++11721b2022-07-09 11:39:102022-07-09 11:39:13

詳細信息

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