Problem 7up
User bestatchinesechess
Submission Time 2025-02-17 01:31:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

7up.cpp: In function ‘int main()’:
7up.cpp:8:9: error: expected ‘;’ before ‘for’
8 | num = x
| ^
| ;
9 |
10 | for (int i = 0; i < k; i++) {
| ~~~
7up.cpp:10:18: error: ‘i’ was not declared in this scope
10 | for (int i = 0; i < k; i++) {
| ^