Problem | waterbottles3 |
---|---|
User | dakingwawin |
Submission Time | 2024-12-09 14:46:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
waterbottles3.cpp: In function ‘int32_t main()’:
waterbottles3.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
waterbottles3.cpp:11:5: note: in expansion of macro ‘int’
11 | int arr[n];
| ^~~
waterbottles3.cpp:11:9: error: ‘arr’ was not declared in this scope
11 | int arr[n];
| ^~~
waterbottles3.cpp:3:18: error: wrong number of template arguments (1, should be 2)
3 | #define int long long;
| ^~~~
waterbottles3.cpp:12:10: note: in expansion of macro ‘int’
12 | pair<int,int> arr2[q];
| ^~~
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,