Problem 3nplus1II
User brian
Submission Time 2026-06-22 16:15:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1II.cpp: In function ‘int main()’:
3nplus1II.cpp:6:18: error: expected ‘;’ before ‘for’
6 | cin >> x >> time
| ^
| ;
7 | for (int i = 0; i < time; ++i) {
| ~~~
3nplus1II.cpp:7:18: error: ‘i’ was not declared in this scope
7 | for (int i = 0; i < time; ++i) {
| ^