| Problem | mountainjourney |
|---|---|
| User | Hihihihihi |
| Submission Time | 2026-06-24 11:02:06 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
mountainjourney.cpp: In function ‘int main()’:
mountainjourney.cpp:15:21: error: expected ‘)’ before numeric constant
15 | for (int i=0;i<m;i++0) {
| ~ ^
| )
mountainjourney.cpp:15:22: error: expected ‘;’ before ‘)’ token
15 | for (int i=0;i<m;i++0) {
| ^
| ;
mountainjourney.cpp:18:12: error: no match for ‘operator=’ (operand types are ‘std::vector<long long int>’ and ‘long long int’)
18 | sort(a,a=n);
| ^
In file included from /usr/include/c++/9/vector:72,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from mountainjourney.cpp:1:
/usr/include/c++/9/bits/vector.tcc:1