QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#458513#8831. Chemistry Classucup-team244#Compile Error//C++171.7kb2024-06-29 17:43:342024-06-29 17:43:40

詳細信息

answer.code:68:1: error: unterminated comment
   68 | /*
      | ^
answer.code: In function ‘void solve()’:
answer.code:23:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   23 |     scanf("%d %lld %lld",&n,&a,&b);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
answer.code:26:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   26 |         scanf("%lld",&q[i]);
      |         ~~~~~^~~~~~~~~~~~~~
answer.code: In function ‘int main()’:
answer.code:62:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   62 |     scanf("%d",&t);
      |     ~~~~~^~~~~~~~~