QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#317855 | #8177. Sum is Integer | qiuzx | Compile Error | / | / | C++17 | 2.6kb | 2024-01-29 20:36:23 | 2024-01-29 20:36:23 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:5:30: warning: ‘-fwhole-program’ is not an option that controls warnings [-Wpragmas] 5 | #pragma GCC diagnostic error "-fwhole-program" | ^~~~~~~~~~~~~~~~~ answer.code:6:30: warning: ‘-fcse-skip-blocks’ is not an option that controls warnings [-Wpragmas] 6 | #pragma GCC diagnostic error "-fcse-skip-blocks" | ^~~~~~~~~~~~~~~~~~~ answer.code:7:30: warning: ‘-funsafe-loop-optimizations’ is not an option that controls warnings [-Wpragmas] 7 | #pragma GCC diagnostic error "-funsafe-loop-optimizations" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.code: In function ‘int main()’: answer.code:88:17: error: ‘idv’ was not declared in this scope; did you mean ‘idvs’? 88 | idv[i]=rnd(); | ^~~ | idvs answer.code:36:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 36 | scanf("%lld",&n); | ~~~~~^~~~~~~~~~~ answer.code:39:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 39 | scanf("%lld%lld",&p[i],&q[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~