Problem | 3nplus1 |
---|---|
User | whvun |
Submission Time | 2023-02-16 17:13:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:5:9: error: ‘a’ was not declared in this scope
5 | cin >> a;
| ^
3nplus1.cpp:6:15: error: expected initializer before ‘>’ token
6 | while (int i > 1;) {
| ^
3nplus1.cpp:6:14: error: expected ‘)’ before ‘>’ token
6 | while (int i > 1;) {
| ~ ^~
| )
3nplus1.cpp:6:15: error: expected primary-expression before ‘>’ token
6 | while (int i > 1;) {
| ^
3nplus1.cpp:6:19: error: expected primary-expression before ‘)’ token
6 | while (int i > 1;) {
| ^
3nplus1.cpp: At global scope:
3nplus1.cpp:15:3: error: ‘cout’ does not name a type
15 | cout << a
| ^~~~