Pagini recente » Borderou de evaluare (job #465218) | Borderou de evaluare (job #2923141) | Borderou de evaluare (job #1975809) | Borderou de evaluare (job #792461) | Borderou de evaluare (job #3230192)
Borderou de evaluare (job #3230192)
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:27:97: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
27 | for (int bottom_right_x = top_left_y; potential_max > max_gcd && bottom_right_x < M; ++bottom_right_x) {
| ~~~~~~~~~~~~~~~^~~
main.cpp:28:92: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
28 | for (int bottom_right_y = 0; potential_max > max_gcd && bottom_right_y < N; ++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:35: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 |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 0ms | 303kb | Incorect | 0 |
4 | 14ms | 913kb | Incorect | 0 |
5 | 14ms | 909kb | Incorect | 0 |
6 | 14ms | 929kb | Incorect | 0 |
7 | 114ms | 819kb | Incorect | 0 |
8 | 114ms | 819kb | Incorect | 0 |
9 | 114ms | 819kb | Incorect | 0 |
10 | 114ms | 819kb | Incorect | 0 |
Punctaj total | 0 |