Borderou de evaluare (job #2894335)

Utilizator Stefan_MagureanuMagureanu Stefan Stefan_Magureanu Data 27 aprilie 2022 18:23:05
Problema Loto Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:20:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 20 | for (int i = 0; i < loterie.size(); i++) { | ~~^~~~~~~~~~~~~~~~ main.cpp:21:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 21 | for (int j = i; j < loterie.size(); j++) { | ~~^~~~~~~~~~~~~~~~ main.cpp:22:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 22 | for (int k = j; k < loterie.size(); k++) { | ~~^~~~~~~~~~~~~~~~ main.cpp:28:37: error: 'get' was not declared in this scope; did you mean 'std::get'? 28 | << loterie[get<0>(posibilitati[s - sum])] | ^~~ | std::get In file included from /usr/include/c++/10/bits/hashtable_policy.h:34, from /usr/include/c++/10/bits/hashtable.h:35, from /usr/include/c++/10/unordered_map:46, from main.cpp:2: /usr/include/c++/10/tuple:1357:5: note: 'std::get' declared here 1357 | get(const tuple<_Types...>&& __t) noexcept | ^~~ Non zero exit status: 1

Ceva nu functioneaza?