Problem | hamster1 |
---|---|
User | aa24codebreaker |
Submission Time | 2023-11-15 13:19:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
hamster1.cpp: In function ‘int main()’:
hamster1.cpp:3:13: error: ‘Long’ was not declared in this scope; did you mean ‘long’?
3 | #define int Long Long
| ^~~~
hamster1.cpp:6:2: note: in expansion of macro ‘int’
6 | int n,k; cin>>n>>k;
| ^~~
hamster1.cpp:6:16: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | int n,k; cin>>n>>k;
| ^
| yn
hamster1.cpp:6:19: error: ‘k’ was not declared in this scope
6 | int n,k; cin>>n>>k;
| ^
hamster1.cpp:3:18: error: expected ‘;’ before ‘Long’
3 | #define int Long Long
| ^~~~
hamster1.cpp:7:2: note: in expansion of macro ‘int’
7 | int arr[n];
| ^~~
hamster1.cpp:3:18: error: expected ‘;’ before ‘Long’
3 | #define int Long Long
| ^~~~
hamster1.cpp:8:2: note: in ex