Borderou de evaluare (job #602939)

Utilizator avatar andrei_marciuc Marciuc Andrei andrei_marciuc IP ascuns
Problemă Mouse (clasa a 9-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 5 aug. 2021 11:37:25 Scor 50

Raport evaluator

Compilare: main.cpp: In function 'void bkt(int, int, int)': main.cpp:17:26: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<short int, short int> >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 17 | if( v.size() + 1 < lin * col ) | ~~~~~~~~~~~~~^~~~~~~~~~~ main.cpp:19:57: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<short int, short int> >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 19 | if( !( lin >= linie && col >= coloana ) && v.size() < lin * col ) | ~~~~~~~~~^~~~~~~~~~~ main.cpp:23:22: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<short int, short int> >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 23 | if( v.size() == n * m - 1 && rez < s ) { | ~~~~~~~~~^~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:80:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<short int, short int> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 80 | for( int i = 0; i < pasi.size(); i++ ) | ~~^~~~~~~~~~~~~ main.cpp:43:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | fscanf( fin, "%d %d", &n, &m ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:48:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 48 | fscanf( fin, "%d", &x ); | ~~~~~~^~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb Corect 10
2 1 ms 131 kb Corect 10
3 1 ms 131 kb Corect 10
4 1 ms 131 kb Corect 10
5 1009 ms 131 kb Time limit exceeded 0
6 1008 ms 131 kb Time limit exceeded 0
7 1003 ms 262 kb Time limit exceeded 0
8 1005 ms 262 kb Time limit exceeded 0
9 1005 ms 262 kb Time limit exceeded 0
10 1 ms 131 kb Corect 10
Punctaj total 50