Problem potatosalad
User WANCH5789W
Submission Time 2026-03-05 14:40:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatosalad.cpp:1:1: error: ‘include’ does not name a type
1 | include < iostream >
| ^~~~~~~
potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:8:12: error: expected initializer before ‘N’
8 | int main N, D;
| ^
potatosalad.cpp:9:2: error: ‘cin’ was not declared in this scope
9 | cin >> N >> D;
| ^~~
potatosalad.cpp:9:9: error: ‘N’ was not declared in this scope
9 | cin >> N >> D;
| ^
potatosalad.cpp:9:14: error: ‘D’ was not declared in this scope
9 | cin >> N >> D;
| ^
potatosalad.cpp:10:2: error: ‘vector’ was not declared in this scope
10 | vector <long long> m(N);
| ^~~~~~
potatosalad.cpp:10:10: error: expected primary-expression before ‘long’
10 | vector <long long> m(N);
| ^~~~
potatosalad.cpp:11:22: error: ‘n’ was not declared in this sc