QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#294996 | #5066. String-dle Count | ucup-team2880# | Compile Error | / | / | C++20 | 2.0kb | 2023-12-30 17:54:22 | 2023-12-30 17:54:22 |
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:87:61: error: ‘lim’ was not declared in this scope 87 | for (int i = 1; i <= 26; i++) pos[i] = pos[i - 1] + lim[i - 1]; | ^~~ answer.code:89:21: error: ‘isst’ was not declared in this scope; did you mean ‘ist’? 89 | if (isst(i)) | ^~~~ | ist answer.code: At global scope: answer.code:96:2: error: expected unqualified-id before numeric constant 96 | }123as | ^~~~~ answer.code: In function ‘int main()’: answer.code:41:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 41 | scanf("%d%d", &n, &k); | ~~~~~^~~~~~~~~~~~~~~~ answer.code:45:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 45 | scanf("%s", ch1 + 1); | ~~~~~^~~~~~~~~~~~~~~ answer.code:46:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 46 | scanf("%s", ch2 + 1); | ~~~~~^~~~~~~~~~~~~~~