Problem platonic11
User Tianrui
Submission Time 2025-12-08 14:33:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic11.cpp: In function ‘int main()’:
platonic11.cpp:13:25: error: expected ‘;’ before ‘i’
13 | for(int i = 0; i < n ++i) {
| ^
| ;
platonic11.cpp:14:3: error: ‘sum’ was not declared in this scope
14 | sum += v[i];
| ^~~
platonic11.cpp:18:3: error: ‘sum’ was not declared in this scope
18 | sum = sum * 2 % 676767676;
| ^~~
platonic11.cpp:20:10: error: ‘sum’ was not declared in this scope
20 | cout << sum;
| ^~~