QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#90364 | #5818. Macaron | llc | Compile Error | / | / | C++14 | 1.5kb | 2023-03-22 20:12:25 | 2023-03-22 20:12:26 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘void tag(LL, LL, LL, LL, LL)’: answer.code:14:28: error: ‘max’ was not declared in this scope; did you mean ‘fmax’? 14 | ++s[x - j][max(y - h[j], 1ll)]; | ^~~ | fmax answer.code:15:28: error: ‘min’ was not declared in this scope; did you mean ‘sin’? 15 | --s[x - j][min(y + h[j], m) + 1]; | ^~~ | sin answer.code:18:28: error: ‘max’ was not declared in this scope; did you mean ‘fmax’? 18 | ++s[x + j][max(y - h[j], 1ll)]; | ^~~ | fmax answer.code:19:28: error: ‘min’ was not declared in this scope; did you mean ‘sin’? 19 | --s[x + j][min(y + h[j], m) + 1]; | ^~~ | sin answer.code: In function ‘int main()’: answer.code:45:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 45 | scanf("%lld %lld %lld %lld %lld", &n, &m, &r, &xs, &ys); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.code:50:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 50 | scanf("%lld", &k); | ~~~~~^~~~~~~~~~~~ answer.code:52:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 52 | scanf("%lld %lld", &dx, &dy); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~