QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#606040 | #9250. Max GCD | ucup-team5045 | Compile Error | / | / | C++14 | 2.3kb | 2024-10-02 21:47:49 | 2024-10-02 21:47:51 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int main()’: answer.code:82:26: error: ‘struct node’ has no member named ‘r’ 82 | qi[i].ans=(qi[i].r-qi[i].l<=1?0:ask(1,qi[i].a,n)); | ^ answer.code:82:34: error: ‘struct node’ has no member named ‘l’ 82 | qi[i].ans=(qi[i].r-qi[i].l<=1?0:ask(1,qi[i].a,n)); | ^ answer.code:62:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 62 | scanf("%d%d",&n,&q); | ~~~~~^~~~~~~~~~~~~~ answer.code:64:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 64 | scanf("%d",&ai[i]); | ~~~~~^~~~~~~~~~~~~ answer.code:67:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 67 | scanf("%d%d",&a,&b); | ~~~~~^~~~~~~~~~~~~~