QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#50128 | #4633. Coprime Matrices | MaMengQi | Compile Error | / | / | C++17 | 1.9kb | 2022-09-24 17:01:05 | 2022-09-24 17:01:07 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In member function ‘void SAM::init()’: answer.code:32:16: error: ‘fst’ was not declared in this scope; did you mean ‘lst’? 32 | memset(fst, 0, sizeof(fst)); | ^~~ | lst answer.code: In member function ‘void SAM::calc()’: answer.code:61:35: error: no match for ‘operator[]’ (operand types are ‘int [4000012]’ and ‘node’) 61 | for (auto x: vec) cnt[link[x]] += cnt[x]; | ^ answer.code:61:46: error: no match for ‘operator[]’ (operand types are ‘int [4000012]’ and ‘node’) 61 | for (auto x: vec) cnt[link[x]] += cnt[x]; | ^ answer.code: In function ‘int main()’: answer.code:70:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 70 | scanf("%s", S); N = strlen(S); | ~~~~~^~~~~~~~~