Problem pilot
User jiazethesigma
Submission Time 2026-03-08 15:23:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pilot.cpp: In function ‘int main()’:
pilot.cpp:15:3: error: ‘vecotr’ was not declared in this scope
15 | vecotr<long long> free;
| ^~~~~~
pilot.cpp:15:10: error: expected primary-expression before ‘long’
15 | vecotr<long long> free;
| ^~~~
pilot.cpp:25:9: error: request for member ‘push_back’ in ‘free’, which is of non-class type ‘void(void*) noexcept’
25 | free.push_back(0);
| ^~~~~~~~~
pilot.cpp:28:17: error: ‘begin’ was not declared in this scope
28 | for(int fre : free) total+=fre;
| ^~~~
pilot.cpp:28:17: note: suggested alternatives:
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:95,
from pilot.cpp:1:
/usr/include/c++/9/valarray:1224:5: note: ‘std::begin’
1224 | begin(const valarray<_Tp>& __va)
| ^~~~~
In file included from /usr/include/c++/9/filesystem:38,