Problem threethreethree
User Yuhmama
Submission Time 2026-06-24 10:40:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

threethreethree.cpp: In function ‘int main()’:
threethreethree.cpp:12:13: error: ‘i’ was not declared in this scope
12 | if (int (A[i]+A[i+1]+A[i+2])%3==0) {
| ^
threethreethree.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
threethreethree.cpp:12:6: note: in expansion of macro ‘int’
12 | if (int (A[i]+A[i+1]+A[i+2])%3==0) {
| ^~~
threethreethree.cpp:12:6: error: expected ‘)’ before ‘long’
12 | if (int (A[i]+A[i+1]+A[i+2])%3==0) {
| ~^
| )