Borderou de evaluare (job #3230195)

Utilizator vladvoicux64Voicu Ioan Vladut vladvoicux64 Data 19 mai 2024 21:08:02
Problema Euclid Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:13:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 13 | for (int c = 0; c < case_count; ++c) | ~~^~~~~~~~~~~~ main.cpp:18:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 18 | for (int i = 0; i < N; ++i) { | ~~^~~ main.cpp:19:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 19 | for (int j = 0; j < M; ++j) { | ~~^~~ main.cpp:24:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 24 | for (int top_left_x = 0; top_left_x < N - h + 1; ++top_left_x) | ~~~~~~~~~~~^~~~~~~~~~~ main.cpp:26:49: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 26 | for (int top_left_y = 0; top_left_y < M - w + 1; ++top_left_y) | ~~~~~~~~~~~^~~~~~~~~~~ main.cpp:30:97: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 30 | for (int bottom_right_x = top_left_x; potential_max > max_gcd && bottom_right_x < top_left_x + h ; ++bottom_right_x) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ main.cpp:31:101: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 31 | for (int bottom_right_y = top_left_y; potential_max > max_gcd && bottom_right_y < top_left_y + w; ++bottom_right_y) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12.2.1/istream:39, from /usr/include/c++/12.2.1/fstream:38, from main.cpp:1: In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits<char>]', inlined from 'int main()' at main.cpp:38:48: /usr/include/c++/12.2.1/ostream:196:25: warning: 'max_gcd' may be used uninitialized [-Wmaybe-uninitialized] 196 | return _M_insert(static_cast<unsigned long>(__n)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:23:33: note: 'max_gcd' was declared here 23 | unsigned potential_max, max_gcd; | ^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
19ms303kbOK10
29ms303kbOK10
39ms303kbOK10
41203ms786kbTime limit exceeded0
51203ms983kbTime limit exceeded0
61203ms1015kbTime limit exceeded0
71203ms843kbTime limit exceeded0
81204ms819kbTime limit exceeded0
91204ms819kbTime limit exceeded0
101204ms819kbTime limit exceeded0
Punctaj total30

Ceva nu functioneaza?