QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#143467 | #3263. 期末考试 | legenc6y | Compile Error | / | / | C++14 | 1.6kb | 2023-08-21 13:28:44 | 2023-08-21 13:28:47 |
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:57:25: error: ‘i64’ was not declared in this scope 57 | i64 resb = std::max(tb[i] - ta[i], 0ll), ua = std::min(ta[i], tb[i]); | ^~~ answer.code:58:73: error: ‘ua’ was not declared in this scope; did you mean ‘xa’? 58 | ans = std::min(ans, (i128)i * b[i] + c[i] + A * ua + B * resb); | ^~ | xa answer.code:58:82: error: ‘resb’ was not declared in this scope 58 | ans = std::min(ans, (i128)i * b[i] + c[i] + A * ua + B * resb); | ^~~~ answer.code:29:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 29 | scanf("%d %d", &n, &m); w = 0; | ~~~~~^~~~~~~~~~~~~~~~~ answer.code:31:29: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 31 | int x; scanf("%d", &x); w = std::max(w, x); xa[i] = x; | ~~~~~^~~~~~~~~~ answer.code:35:29: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 35 | int x; scanf("%d", &x); w = std::max(w, x); | ~~~~~^~~~~~~~~~