Problem blockrain
User Dolphy
Submission Time 2025-12-29 16:05:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

blockrain.cpp: In function ‘int32_t main()’:
blockrain.cpp:13:47: error: ‘k’ was not declared in this scope
13 | for (int i=0; i<n; i++) cout << a[max(n-1, i+k)] << " ";
| ^