QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#117524 | #6631. Maximum Bitwise OR | Fantasy_Ball | Compile Error | / | / | C++14 | 1.9kb | 2023-07-01 15:22:15 | 2023-07-01 15:22:16 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:56:36: error: invalid types ‘int [100005][2][int [100005]]’ for array subscript 56 | ans[id][ts][1]=0; | ^ 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; | ~~~~~^~~~~~~~~~~~~~~~~~~~