QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#44989 | #4561. Catfish Farm | ZhangYiDe | Compile Error | / | / | C++17 | 2.3kb | 2022-08-22 12:16:50 | 2022-08-22 12:16:51 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:78:5: error: redefinition of ‘int N’ 78 | int N,M; | ^ answer.code:17:5: note: ‘int N’ previously declared here 17 | int N,M; | ^ answer.code:78:7: error: redefinition of ‘int M’ 78 | int N,M; | ^ answer.code:17:7: note: ‘int M’ previously declared here 17 | int N,M; | ^ answer.code:79:5: error: redefinition of ‘int X [10010]’ 79 | int X[10010] = {0}; | ^ answer.code:18:5: note: ‘int X [10010]’ previously defined here 18 | int X[10010] = {0}; | ^ answer.code:80:5: error: redefinition of ‘int Y [10010]’ 80 | int Y[10010] = {0}; | ^ answer.code:19:5: note: ‘int Y [10010]’ previously defined here 19 | int Y[10010] = {0}; | ^ answer.code:81:5: error: redefinition of ‘int W [10010]’ 81 | int W[10010] = {0}; | ^ answer.code:20:5: note: ‘int W [10010]’ previously defined here 20 | int W[10010] = {0}; | ^ answer.code:82:4: error: redefinition of ‘long long int dp [3010][3010]’ 82 | ll dp[3010][3010] = {0}; | ^~ answer.code:21:4: note: ‘long long int dp [3010][3010]’ previously defined here 21 | ll dp[3010][3010] = {0}; | ^~ answer.code:83:4: error: redefinition of ‘long long int now [3010]’ 83 | ll now[3010] = {0}; | ^~~ answer.code:22:4: note: ‘long long int now [3010]’ previously defined here 22 | ll now[3010] = {0}; | ^~~ answer.code:84:4: error: redefinition of ‘long long int maxim [3010]’ 84 | ll maxim[3010] = {0}; | ^~~~~ answer.code:23:4: note: ‘long long int maxim [3010]’ previously defined here 23 | ll maxim[3010] = {0}; | ^~~~~ answer.code:86:9: error: redefinition of ‘int64_t max_weights(int, int, int*, int*, int*)’ 86 | int64_t max_weights(int N, int M, int X[], int Y[], int W[]){ | ^~~~~~~~~~~ answer.code:25:9: note: ‘int64_t max_weights(int, int, int*, int*, int*)’ previously defined here 25 | int64_t max_weights(int N, int M, int X[], int Y[], int W[]){ | ^~~~~~~~~~~ answer.code:106:5: error: redefinition of ‘int main()’ 106 | int main(){ | ^~~~ answer.code:45:5: note: ‘int main()’ previously defined here 45 | int main(){ | ^~~~