QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#642862#5513. Advertisement 2ZhaoZiLongCompile Error//C++23640b2024-10-15 16:41:202024-10-15 16:41:21

Details

answer.code:14:31: warning: left shift count is negative [-Wshift-count-negative]
   14 | bool kkkkk[11<<4<<5<<1<<4<<1*9<<1/9-8<<1>>0];
      |            ~~~~~~~~~~~~~~~~~~~^~~~~~~
answer.code:14:41: error: size of array ‘kkkkk’ is not an integral constant-expression
   14 | bool kkkkk[11<<4<<5<<1<<4<<1*9<<1/9-8<<1>>0];
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
answer.code: In function ‘int main()’:
answer.code:22:32: error: ‘struct point’ has no member named ‘w’
   22 |                 if (kkkkk[a[i].w]==0)   kkksc03++;
      |                                ^