QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#213848#6547. Bansheeucup-team2233#Compile Error//C++142.3kb2023-10-14 16:21:362023-10-14 16:21:36

详细

answer.code: In function ‘bool check()’:
answer.code:70:20: error: invalid types ‘long long int[long long int]’ for array subscript
   70 |         int tim=tim[i];
      |                    ^
answer.code: In function ‘int main()’:
answer.code:80:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   80 |     scanf("%lld",&T);
      |     ~~~~~^~~~~~~~~~~
answer.code:84:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   84 |         scanf("%lld %lld",&n,&m);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~
answer.code:87:18: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   87 |             scanf("%lld %lld %lld %lld",&l[i],&r[i],&h,&s);
      |             ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~