Borderou de evaluare (job #2983867)

Utilizator TheGodFather2131Alexandru Miclea TheGodFather2131 Data 23 februarie 2023 10:58:01
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:28:9: error: 'pair' does not name a type 28 | typedef pair <int, int> pii; | ^~~~ main.cpp:29:9: error: 'pair' does not name a type 29 | typedef pair <ll, ll> pll; | ^~~~ main.cpp:30:9: error: 'pair' does not name a type 30 | typedef pair <double, double> pdd; | ^~~~ main.cpp:31:9: error: 'vector' does not name a type 31 | typedef vector<ll> vll; | ^~~~~~ main.cpp:32:9: error: 'vector' does not name a type 32 | typedef vector<int> vi; | ^~~~~~ main.cpp:33:16: error: 'vector' was not declared in this scope 33 | typedef vector<vector<int> > vvi; | ^~~~~~ main.cpp:33:16: note: suggested alternatives: In file included from /usr/include/c++/12.2.1/vector:64, from main.cpp:3: /usr/include/c++/12.2.1/bits/stl_vector.h:423:11: note: 'std::vector' 423 | class vector : protected _Vector_base<_Tp, _Alloc> | ^~~~~~ /usr/include/c++/12.2.1/vector:84:13: note: 'std::pmr::vector' 84 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>; | ^~~~~~ main.cpp:33:16: error: 'vector' was not declared in this scope 33 | typedef vector<vector<int> > vvi; | ^~~~~~ main.cpp:33:16: note: suggested alternatives: /usr/include/c++/12.2.1/bits/stl_vector.h:423:11: note: 'std::vector' 423 | class vector : protected _Vector_base<_Tp, _Alloc> | ^~~~~~ /usr/include/c++/12.2.1/vector:84:13: note: 'std::pmr::vector' 84 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>; | ^~~~~~ main.cpp:33:16: error: 'vector' was not declared in this scope 33 | typedef vector<vector<int> > vvi; | ^~~~~~ main.cpp:33:16: note: suggested alternatives: /usr/include/c++/12.2.1/bits/stl_vector.h:423:11: note: 'std::vector' 423 | class vector : protected _Vector_base<_Tp, _Alloc> | ^~~~~~ /usr/include/c++/12.2.1/vector:84:13: note: 'std::pmr::vector' 84 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>; | ^~~~~~ main.cpp:33:16: error: 'vector' was not declared in this scope 33 | typedef vector<vector<int> > vvi; | ^~~~~~ Non zero exit status: 1

Ceva nu functioneaza?