QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#377753 | #7733. Cool, It’s Yesterday Four Times More | ucup-team199# | Compile Error | / | / | C++20 | 1.5kb | 2024-04-05 17:22:22 | 2024-04-05 17:22:23 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘void dfs(int)’: answer.code:26:5: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 26 | ans[u] = 0; | ^~~ | abs answer.code:40:5: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 40 | ans[u] = ans[v]; | ^~~ | abs answer.code:43:10: error: ‘pii’ was not declared in this scope 43 | vector<pii> vt; | ^~~ answer.code:43:13: error: template argument 1 is invalid 43 | vector<pii> vt; | ^ answer.code:43:13: error: template argument 2 is invalid answer.code:49:19: error: ‘struct S’ has no member named ‘L’ 49 | s[u].len = s[u].L+1; | ^ answer.code:60:26: error: ‘b’ was not declared in this scope; did you mean ‘db’? 60 | auto db = B(s[v].dp, b, L); | ^ | db answer.code:60:15: error: ‘B’ was not declared in this scope 60 | auto db = B(s[v].dp, b, L); | ^ answer.code:61:26: error: ‘r’ was not declared in this scope; did you mean ‘dr’? 61 | auto dr = R(s[v].dp, r, L); | ^ | dr answer.code:61:15: error: ‘R’ was not declared in this scope 61 | auto dr = R(s[v].dp, r, L); | ^ answer.code:64:3: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 64 | ans[u] = inf; | ^~~ | abs answer.code: In function ‘void once()’: answer.code:75:11: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘S*’ [-Wformat=] 75 | scanf("%s", s+1); | ~^ ~~~ | | | | | S* | char* answer.code:80:46: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 80 | for (int i = 1; i <= n; ++i) printf("%d ", ans[i]); | ^~~ | abs answer.code:70:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 70 | scanf("%d", &n); | ~~~~~^~~~~~~~~~ answer.code:75:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 75 | scanf("%s", s+1); | ~~~~~^~~~~~~~~~~ answer.code:77:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 77 | scanf("%d", &p); | ~~~~~^~~~~~~~~~ answer.code: In function ‘int main()’: answer.code:86:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 86 | scanf("%d", &t); | ~~~~~^~~~~~~~~~