Problem foreveralone
User Dolphy
Submission Time 2023-01-10 13:52:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foreveralone.cpp: In function ‘int main()’:
foreveralone.cpp:8:5: error: expected unqualified-id before ‘long’
8 | long long int a,b,num = 0;
| ^~~~
foreveralone.cpp:13:16: error: ‘a’ was not declared in this scope
13 | cin >> a >> b;
| ^
foreveralone.cpp:13:21: error: ‘b’ was not declared in this scope
13 | cin >> a >> b;
| ^
foreveralone.cpp:25:13: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
25 | num += 1;
| ^~~
| enum
foreveralone.cpp:28:13: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
28 | cout << num;
| ^~~
| enum