Borderou de evaluare (job #2556531)

Utilizator gogu5Gogu Vrea la ONI gogu5 Data 24 februarie 2020 23:17:21
Problema Conexidad Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:75:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ( comp - 1 == mk.size() ) { ~~~~~~~~~^~~~~~~~~~~~ main.cpp:76:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<std::pair<int, int> >::size_type {aka long unsigned int}' [-Wformat=] fprintf( fout, "1\n%d\n", mk.size() ); ^ main.cpp:77:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( i = 0; i < mk.size(); i++ ) ~~^~~~~~~~~~~ main.cpp:100:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<std::pair<int, int> >::size_type {aka long unsigned int}' [-Wformat=] fprintf( fout, "2\n%d\n", mk.size() ); ^ main.cpp:101:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( i = 0; i < mk.size(); i++ ) ~~^~~~~~~~~~~ main.cpp:27:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d%d", &n, &m ); ^ main.cpp:33:38: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d%d", &a, &b ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK.6
22ms131kbOK.6
32ms131kbOK.6
42ms131kbOK.6
52ms131kbOK.6
63ms131kbOK.4
73ms131kbOK.4
82ms131kbOK.4
92ms131kbOK.4
102ms131kbOK.4
112ms131kbOK.4
122ms131kbOK.4
132ms131kbOK.6
142ms131kbOK.6
152ms131kbOK.6
162ms131kbOK.6
173ms131kbOK.6
182ms131kbOK.4
192ms131kbOK.4
202ms131kbOK.4
Punctaj total100

Ceva nu functioneaza?