| Problem | threethreethree |
|---|---|
| User | Yuhmama |
| Submission Time | 2026-06-24 10:39:26 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
threethreethree.cpp: In function ‘int main()’:
threethreethree.cpp:12:13: error: ‘i’ was not declared in this scope
12 | if (int (A[i]+A[j]+A[k])%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[j]+A[k])%3==0) {
| ^~~
threethreethree.cpp:12:6: error: expected ‘)’ before ‘long’
12 | if (int (A[i]+A[j]+A[k])%3==0) {
| ~^
| )
threethreethree.cpp:13:38: error: ‘j’ was not declared in this scope
13 | cout << "YES" << '\n' << A[i] << A[j] << A[k];
| ^
threethreethree.cpp:13:46: error: ‘k’ was not declared in this scope
13 | cout << "YES" << '\n' << A[i] << A[j] << A[k];
|