Borderou de evaluare (job #2312172)

Utilizator alex.cojocaruAlex Cojocaru alex.cojocaru Data 4 ianuarie 2019 13:45:49
Problema Dir Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:54:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<std::__cxx11::basic_string<char> >::size_type {aka long unsigned int}' [-Wformat=] fprintf (fout, "%d\n", stringarray.size() ) ; ^ main.cpp:56:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0 ; i < stringarray.size() ; i++ ) ~~^~~~~~~~~~~~~~~~~~~~ main.cpp:52:7: warning: unused variable 'n' [-Wunused-variable] int n, i; ^ main.cpp: In function 'void citire(char*, int)': main.cpp:20:24: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] while (c != ')' && c != '\n' ) { ~~^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbIncorect0
32ms131kbOK10
42ms131kbOK10
52ms131kbOK10
62ms131kbOK10
72ms131kbOK10
82ms131kbOK10
92ms131kbOK10
102ms131kbIncorect0
Punctaj total80

Ceva nu functioneaza?