QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#403664 | #6836. A Plus B Problem | InfiniteStarlight# | Compile Error | / | / | C++23 | 2.0kb | 2024-05-02 17:01:12 | 2024-05-02 17:01: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:91:25: error: expected ‘}’ before ‘else’ 91 | else if(nxt0<nxt2) delta=0; | ^~~~ answer.code:90:17: note: to match this ‘{’ 90 | { | ^ answer.code:94:28: error: ‘c’ was not declared in this scope 94 | cout<<(val[c]+delta)%10<<" "<<ans+ch<<'\n'; | ^ answer.code:94:31: error: ‘delta’ was not declared in this scope 94 | cout<<(val[c]+delta)%10<<" "<<ans+ch<<'\n'; | ^~~~~ answer.code:94:47: error: ‘ans’ was not declared in this scope; did you mean ‘abs’? 94 | cout<<(val[c]+delta)%10<<" "<<ans+ch<<'\n'; | ^~~ | abs answer.code:94:51: error: ‘ch’ was not declared in this scope 94 | cout<<(val[c]+delta)%10<<" "<<ans+ch<<'\n'; | ^~ answer.code: At global scope: answer.code:96:9: error: expected unqualified-id before ‘return’ 96 | return 0; | ^~~~~~ answer.code:97:1: error: expected declaration before ‘}’ token 97 | } | ^