QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#314820 | #7737. Extending Distance | QAQQWQ | Compile Error | / | / | C++14 | 3.2kb | 2024-01-26 11:37:00 | 2024-01-26 11:37:01 |
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:74:17: error: expected unqualified-id before ‘for’ 74 | for(int i=1;i<=n;i++)for(int j=1;j<m;j++){ | ^~~ answer.code:74:29: error: ‘i’ was not declared in this scope 74 | for(int i=1;i<=n;i++)for(int j=1;j<m;j++){ | ^ answer.code:74:50: error: ‘j’ was not declared in this scope 74 | for(int i=1;i<=n;i++)for(int j=1;j<m;j++){ | ^ answer.code:106:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] 106 | printf("%d%c",rw[i][j]+flww.w[eri[0][i][j]]+flww.w[eri[1][i][j]],(j==m-1?'\n':' ')); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long long int | %lld answer.code:109:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] 109 | if(j==1||j==m)printf("%d%c",lw[i][j],(j==m?'\n':' ')); | ~^ ~~~~~~~~ | | | | int long long int | %lld answer.code:110:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] 110 | else printf("%d%c",lw[i][j]+flww.w[eli[0][i][j]]+flww.w[eli[1][i][j]],(j==m?'\n':' ')); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long long int | %lld