QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#722174 | #9536. Athlete Welcome Ceremony | ucup-team3457 | Compile Error | / | / | C++14 | 3.2kb | 2024-11-07 18:04:08 | 2024-11-07 18:04:09 |
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:92:64: error: invalid operands of types ‘ll [310]’ {aka ‘long long int [310]’} and ‘int’ to binary ‘operator%’ 92 | if (i>0) sum[i][j][k]+=sum[i-1][j][k],sum[i][j]%=mod; | ~~~~~~~~~^~~~~ answer.code:92:64: note: in evaluation of ‘operator%=(ll [310] {aka long long int [310]}, int)’ answer.code:93:64: error: invalid operands of types ‘ll [310]’ {aka ‘long long int [310]’} and ‘int’ to binary ‘operator%’ 93 | if (j>0) sum[i][j][k]+=sum[i][j-1][k],sum[i][j]%=mod; | ~~~~~~~~~^~~~~ answer.code:93:64: note: in evaluation of ‘operator%=(ll [310] {aka long long int [310]}, int)’ answer.code:94:64: error: invalid operands of types ‘ll [310]’ {aka ‘long long int [310]’} and ‘int’ to binary ‘operator%’ 94 | if (k>0) sum[i][j][k]+=sum[i][j][k-1],sum[i][j]%=mod; | ~~~~~~~~~^~~~~ answer.code:94:64: note: in evaluation of ‘operator%=(ll [310] {aka long long int [310]}, int)’ answer.code:95:71: error: invalid operands of types ‘ll [310]’ {aka ‘long long int [310]’} and ‘int’ to binary ‘operator%’ 95 | if (i>0&&j>0) sum[i][j][k]-=sum[i-1][j-1][k],sum[i][j]%=mod; | ~~~~~~~~~^~~~~ answer.code:95:71: note: in evaluation of ‘operator%=(ll [310] {aka long long int [310]}, int)’ answer.code:96:71: error: invalid operands of types ‘ll [310]’ {aka ‘long long int [310]’} and ‘int’ to binary ‘operator%’ 96 | if (i>0&&k>0) sum[i][j][k]-=sum[i-1][j][k-1],sum[i][j]%=mod; | ~~~~~~~~~^~~~~ answer.code:96:71: note: in evaluation of ‘operator%=(ll [310] {aka long long int [310]}, int)’ answer.code:97:71: error: invalid operands of types ‘ll [310]’ {aka ‘long long int [310]’} and ‘int’ to binary ‘operator%’ 97 | if (j>0&&k>0) sum[i][j][k]-=sum[i][j-1][k-1],sum[i][j]%=mod; | ~~~~~~~~~^~~~~ answer.code:97:71: note: in evaluation of ‘operator%=(ll [310] {aka long long int [310]}, int)’ answer.code:98:78: error: invalid operands of types ‘ll [310]’ {aka ‘long long int [310]’} and ‘int’ to binary ‘operator%’ 98 | if (i>0&&j>0&&k>0) sum[i][j][k]+=sum[i-1][j-1][k-1],sum[i][j]%=mod; | ~~~~~~~~~^~~~~ answer.code:98:78: note: in evaluation of ‘operator%=(ll [310] {aka long long int [310]}, int)’