Borderou de evaluare (job #2349864)

Utilizator PatrickCplusplusPatrick Kristian Ondreovici PatrickCplusplus Data 20 februarie 2019 19:55:36
Problema Pluton Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int getCode(std::__cxx11::string)': main.cpp:31:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < nr.length(); ++i) ~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:57:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j <= id.length(); ++j) ~~^~~~~~~~~~~~~~ main.cpp:107:9: warning: 'cod' may be used uninitialized in this function [-Wmaybe-uninitialized] if (getCode(v[i]) == cod) ^~ main.cpp:101:55: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] cout << plutoane << "\n" << maxim << "\n" << k << "\n"; ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms262kbNumar incorect de plutoane!00
23ms262kbNumar incorect de plutoane!0
32ms262kbOk!10
42ms262kbOk!10
54ms262kbOk!10
63ms262kbNumar incorect de plutoane!00
73ms262kbNumar incorect de plutoane!0
83ms262kbNumar incorect de plutoane!0
94ms262kbNumar incorect de plutoane!0
102ms262kbNumar incorect de plutoane!0
Punctaj total0

Ceva nu functioneaza?