Problem skips
User Xavier
Submission Time 2025-06-16 20:34:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

skips.cpp:25:1: error: ‘cin’ does not name a type; did you mean ‘sin’?
25 | cin >> n >> d;
| ^~~
| sin
skips.cpp:27:16: error: array bound is not an integer constant before ‘]’ token
27 | long long arr[n];
| ^
skips.cpp:28:1: error: expected unqualified-id before ‘for’
28 | for(int i = 0; i < n; i++) {
| ^~~
skips.cpp:28:16: error: ‘i’ does not name a type
28 | for(int i = 0; i < n; i++) {
| ^
skips.cpp:28:23: error: ‘i’ does not name a type
28 | for(int i = 0; i < n; i++) {
| ^