Problem veryeasymath
User tanyikai
Submission Time 2025-06-28 20:59:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

veryeasymath.cpp:4:31: error: expected constructor, destructor, or type conversion before ‘(’ token
4 | std::ios_base::sync_with_stdio(false);std::cin.tie(NULL);
| ^
veryeasymath.cpp:4:44: error: ‘cin’ in namespace ‘std’ does not name a type
4 | std::ios_base::sync_with_stdio(false);std::cin.tie(NULL);
| ^~~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from veryeasymath.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
veryeasymath.cpp: In function ‘int main()’:
veryeasymath.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
veryeasymath.cpp:6:2: note: in expansion of macro ‘int’
6 | int n;cin>>n;