Problem threethreethree
User yq
Submission Time 2026-06-24 10:25:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

threethreethree.cpp: In function ‘int main()’:
threethreethree.cpp:17:8: error: ‘i’ was not declared in this scope
17 | if(A[i]+A[j]+A[k] % 3 = 0){
| ^
threethreethree.cpp:17:13: error: ‘j’ was not declared in this scope
17 | if(A[i]+A[j]+A[k] % 3 = 0){
| ^
threethreethree.cpp:17:18: error: ‘k’ was not declared in this scope
17 | if(A[i]+A[j]+A[k] % 3 = 0){
| ^
threethreethree.cpp:20:19: error: expected ‘;’ before ‘}’ token
20 | else{cout<<"NO"}
| ^
| ;