Problem veryeasyproblem
User shashi93
Submission Time 2024-02-26 17:39:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

veryeasyproblem.cpp:6:8: error: cannot declare ‘::main’ to be a global variable
6 | signed main {
| ^~~~
veryeasyproblem.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
veryeasyproblem.cpp:7:2: note: in expansion of macro ‘int’
7 | int n;
| ^~~
veryeasyproblem.cpp:3:13: error: expected ‘}’ before ‘long’
3 | #define int long long
| ^~~~
veryeasyproblem.cpp:7:2: note: in expansion of macro ‘int’
7 | int n;
| ^~~
veryeasyproblem.cpp:6:13: note: to match this ‘{’
6 | signed main {
| ^
veryeasyproblem.cpp:8:2: error: ‘cin’ does not name a type; did you mean ‘sin’?
8 | cin >> n;
| ^~~
| sin
veryeasyproblem.cpp:9:2: error: ‘cout’ does not name a type
9 | cout << n;
| ^~~~
veryeasyproblem.cpp:10:1: error: expected declaration bef