Borderou de evaluare (job #3230194)

Utilizator vladvoicux64Voicu Ioan Vladut vladvoicux64 Data 19 mai 2024 21:05:26
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:11:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 11 | for (int c = 0; c < case_count; ++c) | ~~^~~~~~~~~~~~ main.cpp:16:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 16 | for (int i = 0; i < N; ++i) { | ~~^~~ main.cpp:17:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 17 | for (int j = 0; j < M; ++j) { | ~~^~~ main.cpp:22:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 22 | for (int top_left_x = 0; top_left_x < N - h + 1; ++top_left_x) | ~~~~~~~~~~~^~~~~~~~~~~ main.cpp:24:49: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 24 | for (int top_left_y = 0; top_left_y < M - w + 1; ++top_left_y) | ~~~~~~~~~~~^~~~~~~~~~~ main.cpp:28:97: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 28 | for (int bottom_right_x = top_left_x; potential_max > max_gcd && bottom_right_x < top_left_x + h ; ++bottom_right_x) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ main.cpp:29:101: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | 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:36: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:21:33: note: 'max_gcd' was declared here 21 | unsigned potential_max, max_gcd; | ^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
19ms303kbOK10
214ms303kbOK10
39ms303kbOK10
41204ms897kbTime limit exceeded0
51204ms802kbTime limit exceeded0
61203ms950kbTime limit exceeded0
71204ms876kbTime limit exceeded0
81204ms819kbTime limit exceeded0
91203ms819kbTime limit exceeded0
101203ms819kbTime limit exceeded0
Punctaj total30

Ceva nu functioneaza?