Problem 7up
User estkn
Submission Time 2026-05-21 23:10:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

7up.cpp: In function ‘int main()’:
7up.cpp:15:20: error: expected ‘;’ before ‘for’
15 | cin >> n >> k >> x
| ^
| ;
16 | for (int i = 0; i < k; ++i) {
| ~~~
7up.cpp:16:18: error: ‘i’ was not declared in this scope
16 | for (int i = 0; i < k; ++i) {
| ^