QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#117522 | #6631. Maximum Bitwise OR | Fantasy_Ball | Compile Error | / | / | C++14 | 1.9kb | 2023-07-01 15:18:39 | 2023-07-01 15:18:40 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:66:44: error: expected ‘;’ before ‘j’ 66 | for(i=0;i<30;i++){a | ^ | ; 67 | j=lst[f][ls][i]; | ~ answer.code:16:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 16 | scanf("%d",&t); | ~~~~~^~~~~~~~~ answer.code:18:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 18 | scanf("%d%d",&n,&q); | ~~~~~^~~~~~~~~~~~~~ answer.code:20:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 20 | scanf("%d",&a[i]); | ~~~~~^~~~~~~~~~~~ answer.code:37:40: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 37 | for(i=1;i<=q;i++) scanf("%d%d",&l[i],&r[i]),id[i]=i; | ~~~~~^~~~~~~~~~~~~~~~~~~~