Problem lcm
User NeeNawAmbulance
Submission Time 2024-01-12 13:43:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lcm.cpp: In function ‘int32_t main()’:
lcm.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
lcm.cpp:7:2: note: in expansion of macro ‘int’
7 | int n; cin>>n;
| ^~~
lcm.cpp:7:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | int n; cin>>n;
| ^
| yn
lcm.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
lcm.cpp:8:6: note: in expansion of macro ‘int’
8 | for(int i = 0;i<n;i++){
| ^~~
lcm.cpp:8:10: error: ‘i’ was not declared in this scope
8 | for(int i = 0;i<n;i++){
| ^
lcm.cpp:8:19: error: expected ‘)’ before ‘;’ token
8 | for(int i = 0;i<n;i++){
| ~ ^
| )
lcm.cpp:8:20: error: ‘i’ was not declar