Pagini recente » Borderou de evaluare (job #1356733) | Borderou de evaluare (job #1020108) | Borderou de evaluare (job #1020105) | Borderou de evaluare (job #2185229) | Borderou de evaluare (job #3147411)
Borderou de evaluare (job #3147411)
Raport evaluator
Compilare:
main.cpp:5: warning: "LONG_MAX" redefined
5 | #define LONG_MAX 1LL << 63
|
In file included from /usr/include/c++/12.2.1/climits:42,
from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:39,
from main.cpp:1:
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed/limits.h:131: note: this is the location of the previous definition
131 | #define LONG_MAX __LONG_MAX__
|
main.cpp:6: warning: "LONG_MIN" redefined
6 | #define LONG_MIN -1LL << 63
|
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed/limits.h:129: note: this is the location of the previous definition
129 | #define LONG_MIN (-LONG_MAX - 1L)
|
main.cpp:7: warning: "INT_MAX" redefined
7 | #define INT_MAX 1<<31 -1
|
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed/limits.h:120: note: this is the location of the previous definition
120 | #define INT_MAX __INT_MAX__
|
main.cpp:8: warning: "INT_MIN" redefined
8 | #define INT_MIN -1<<31 +1
|
/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed/limits.h:118: note: this is the location of the previous definition
118 | #define INT_MIN (-INT_MAX - 1)
|
main.cpp: In function 'int main()':
main.cpp:8:19: warning: left shift count >= width of type [-Wshift-count-overflow]
8 | #define INT_MIN -1<<31 +1
| ~~^~~~~~~
main.cpp:27:13: note: in expansion of macro 'INT_MIN'
27 | ll maxx=INT_MIN,ind1,ind2;
| ^~~~~~~
main.cpp:8:24: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
8 | #define INT_MIN -1<<31 +1
| ~~~^~
main.cpp:27:13: note: in expansion of macro 'INT_MIN'
27 | ll maxx=INT_MIN,ind1,ind2;
| ^~~~~~~
In file included from /usr/include/c++/12.2.1/istream:39,
from /usr/include/c++/12.2.1/sstream:38,
from /usr/include/c++/12.2.1/complex:45,
from /usr/include/c++/12.2.1/ccomplex:39,
from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:54:
In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>]',
inlined from 'int main()' at main.cpp:42:22:
/usr/include/c++/12.2.1/ostream:202:25: warning: 'ind2' may be used uninitialized [-Wmaybe-uninitialized]
202 | { return _M_insert(__n); }
| ~~~~~~~~~^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Wrong answer! | 0 |
2 | 0ms | 303kb | OK! | 10 |
3 | 0ms | 303kb | OK! | 10 |
4 | 0ms | 303kb | OK! | 10 |
5 | 1ms | 303kb | OK! | 10 |
6 | 3ms | 557kb | OK! | 10 |
7 | 4ms | 557kb | OK! | 10 |
8 | 79ms | 557kb | Time limit exceeded | 0 |
9 | 79ms | 819kb | Time limit exceeded | 0 |
10 | 9ms | 819kb | OK! | 10 |
Punctaj total | 70 |