Borderou de evaluare (job #602905)

Utilizator avatar andrei_marciuc Marciuc Andrei andrei_marciuc IP ascuns
Problemă Concurs2 (clasa a 9-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 4 aug. 2021 12:32:11 Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:26:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 26 | for( i = 0; i < 51; i++ ) | ^~~ main.cpp:31:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 31 | fprintf( fout, "\n" ); | ^~~~~~~ main.cpp:39:39: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 39 | while( school[ i ].size() == poz[ i ] ) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ main.cpp:57:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 57 | if( poz[ max1 ] == school[ max1 ].size() ) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:59:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 59 | if( poz[ max2 ] == school[ max2 ].size() ) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:65:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 65 | if( poz[ max1 ] == school[ max1 ].size() ) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:67:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 67 | if( poz[ max2 ] == school[ max2 ].size() ) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:12:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf( fin, "%d", &n ); | ~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:17:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fscanf( fin, "%d %d", &county, &student ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb Corect 10
2 1 ms 131 kb Killed by Signal 11 0
3 1 ms 131 kb Corect 10
4 1 ms 131 kb Corect 10
5 1 ms 131 kb Killed by Signal 11 0
6 1 ms 131 kb Killed by Signal 11 0
7 1 ms 131 kb Killed by Signal 11 0
8 1 ms 131 kb Killed by Signal 11 0
9 1 ms 131 kb Killed by Signal 11 0
10 1 ms 131 kb Killed by Signal 11 0
Punctaj total 30