Borderou de evaluare (job #2404393)

Utilizator mariasmmskklns mariasmm Data 12 aprilie 2019 17:59:01
Problema Perle Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int verifica()': main.cpp:59:28: warning: passing NULL to non-pointer argument 1 of 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = short int; _Alloc = std::allocator<short int>; std::vector<_Tp, _Alloc>::value_type = short int]' [-Wconversion-null] perle.push_back(NULL); ^ main.cpp:66:29: warning: passing NULL to non-pointer argument 1 of 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = short int; _Alloc = std::allocator<short int>; std::vector<_Tp, _Alloc>::value_type = short int]' [-Wconversion-null] { perle.push_back(NULL); perle.push_back(NULL); perle.push_back(NULL); perle.push_back(NULL); ^ main.cpp:66:52: warning: passing NULL to non-pointer argument 1 of 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = short int; _Alloc = std::allocator<short int>; std::vector<_Tp, _Alloc>::value_type = short int]' [-Wconversion-null] { perle.push_back(NULL); perle.push_back(NULL); perle.push_back(NULL); perle.push_back(NULL); ^ main.cpp:66:75: warning: passing NULL to non-pointer argument 1 of 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = short int; _Alloc = std::allocator<short int>; std::vector<_Tp, _Alloc>::value_type = short int]' [-Wconversion-null] { perle.push_back(NULL); perle.push_back(NULL); perle.push_back(NULL); perle.push_back(NULL); ^ main.cpp:66:98: warning: passing NULL to non-pointer argument 1 of 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = short int; _Alloc = std::allocator<short int>; std::vector<_Tp, _Alloc>::value_type = short int]' [-Wconversion-null] { perle.push_back(NULL); perle.push_back(NULL); perle.push_back(NULL); perle.push_back(NULL); ^ main.cpp:83:28: warning: passing NULL to non-pointer argument 1 of 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = short int; _Alloc = std::allocator<short int>; std::vector<_Tp, _Alloc>::value_type = short int]' [-Wconversion-null] perle.push_back(NULL); perle.push_back(NULL); ^ main.cpp:83:51: warning: passing NULL to non-pointer argument 1 of 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = short int; _Alloc = std::allocator<short int>; std::vector<_Tp, _Alloc>::value_type = short int]' [-Wconversion-null] perle.push_back(NULL); perle.push_back(NULL); ^ main.cpp:93:32: warning: passing NULL to non-pointer argument 1 of 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = short int; _Alloc = std::allocator<short int>; std::vector<_Tp, _Alloc>::value_type = short int]' [-Wconversion-null] perle.push_back(NULL); perle.push_back(NULL); ^ main.cpp:93:55: warning: passing NULL to non-pointer argument 1 of 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = short int; _Alloc = std::allocator<short int>; std::vector<_Tp, _Alloc>::value_type = short int]' [-Wconversion-null] perle.push_back(NULL); perle.push_back(NULL); ^ main.cpp:100:14: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ main.cpp:101:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' nu=-1; break; ^~~~~ main.cpp: In function 'int main()': main.cpp:123:6: warning: unused variable 'nu' [-Wunused-variable] int nu=0; ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK!10
22ms131kbOK!10
32ms131kbOK!10
43ms131kbOK!10
52ms131kbOK!10
62ms131kbOK!10
73ms131kbOK!10
89ms131kbOK!10
910ms131kbOK!10
1016ms262kbOK!10
Punctaj total100

Ceva nu functioneaza?