Borderou de evaluare (job #2349499)

Utilizator PatrickCplusplusPatrick Kristian Ondreovici PatrickCplusplus Data 20 februarie 2019 15:28:32
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:16: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:29:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j <= id.length(); ++j) ~~^~~~~~~~~~~~~~ main.cpp:54:9: warning: 'cod' may be used uninitialized in this function [-Wmaybe-uninitialized] if (getCode(v[i]) == cod) ^~ main.cpp:51: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
12ms131kbNumar incorect de plutoane!00
22ms131kbNumar incorect de plutoane!0
32ms131kbOk!10
42ms131kbOk!10
52ms131kbKilled by Signal 110
62ms131kbNumar incorect de plutoane!00
72ms131kbNumar incorect de plutoane!0
82ms131kbNumar incorect de plutoane!0
93ms131kbKilled by Signal 110
102ms131kbNumar incorect de plutoane!0
Punctaj total0

Ceva nu functioneaza?