Borderou de evaluare (job #2914002)
Utilizator | Data | 18 iulie 2022 12:34:12 | |
---|---|---|---|
Problema | Xorseq | Status | done |
Runda | Algoritmiada 2022 - Runda 4 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
1 | #import <iostream>
| ^~~~~~
main.cpp:2:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
2 | #import <cstring>
| ^~~~~~
main.cpp:3:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
3 | #import <vector>
| ^~~~~~
main.cpp:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
4 | #import<algorithm>
| ^~~~~~
main.cpp: In function 'int main()':
main.cpp:10:12: error: wrong number of template arguments (0, should be at least 1)
10 | vector<>
| ^
In file included from /usr/include/c++/10/vector:67,
from main.cpp:3:
/usr/include/c++/10/bits/stl_vector.h:389:11: note: provided for 'template<class _Tp, class _Alloc> class std::vector'
389 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
main.cpp:11:1: error: expected unqualified-id before '}' token
11 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !