Problem 3nplus1II
User leafeon
Submission Time 2025-05-27 17:32:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1II.cpp: In function ‘int main()’:
3nplus1II.cpp:12:29: error: expected ‘)’ before numeric constant
12 | for (int k = 0; k < b; k ++0){
| ~ ^
| )
3nplus1II.cpp:12:30: error: expected ‘;’ before ‘)’ token
12 | for (int k = 0; k < b; k ++0){
| ^
| ;
3nplus1II.cpp:17:11: error: expected ‘;’ before ‘return’
17 | cout << a
| ^
| ;
......
22 | return 0;
| ~~~~~~