QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#403801 | #5034. >.< | mekoszc | Compile Error | / | / | C++14 | 2.7kb | 2024-05-02 19:15:59 | 2024-05-02 19:16:00 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘void upd(int&, int, int, int, int, int, int)’: answer.code:46:17: error: break statement not within loop or switch 46 | break; | ^~~~~ answer.code: In function ‘int ask(int, int, int, int)’: answer.code:63:17: error: break statement not within loop or switch 63 | break; | ^~~~~ answer.code: In function ‘int main()’: answer.code:126:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 126 | scanf("%d%d%d",&n,&m,&k),idx=n; | ~~~~~^~~~~~~~~~~~~~~~~~~ answer.code:129:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 129 | scanf("%d%d%d",&u,&v,&w); | ~~~~~^~~~~~~~~~~~~~~~~~~ answer.code:143:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 143 | scanf("%d",&p); | ~~~~~^~~~~~~~~ answer.code:145:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 145 | scanf("%d",a+i); | ~~~~~^~~~~~~~~~