Problem | 3nplus1II |
---|---|
User | cjcube |
Submission Time | 2023-11-08 09:24:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1II.cpp: In function ‘int main()’:
3nplus1II.cpp:7:19: error: expected ‘;’ before ‘<’ token
7 | for (int i = 0, i<B, i++){
| ^
| ;
3nplus1II.cpp:7:19: error: expected primary-expression before ‘<’ token
3nplus1II.cpp:7:26: error: expected ‘;’ before ‘)’ token
7 | for (int i = 0, i<B, i++){
| ^
| ;
3nplus1II.cpp:12:17: error: expected ‘;’ before ‘}’ token
12 | A = 3 * A + 1
| ^
| ;
13 | }
| ~
3nplus1II.cpp:19:2: error: expected ‘}’ at end of input
19 | }
| ^
3nplus1II.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^