QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#772072 | #9246. Dominating Point | Kangliyang | Compile Error | / | / | C++14 | 1.4kb | 2024-11-22 16:51:13 | 2024-11-22 16:51:13 |
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:50:39: error: invalid types ‘char[int]’ for array subscript 50 | a[i][j]=(cc[i][j]-'0'),s[i]+=(cc[i][j]-'0'); | ^ answer.code:50:60: error: invalid types ‘char[int]’ for array subscript 50 | a[i][j]=(cc[i][j]-'0'),s[i]+=(cc[i][j]-'0'); | ^ answer.code:48:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 48 | scanf("%s",cc+1); | ~~~~~^~~~~~~~~~~