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

Compile Error

lcm.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
lcm.cpp:5:1: note: in expansion of macro ‘int’
5 | int main(){
| ^~~
lcm.cpp: In function ‘int 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<