Pagini recente » Borderou de evaluare (job #938596) | Borderou de evaluare (job #2279356) | Borderou de evaluare (job #1610829) | Borderou de evaluare (job #2680244) | Borderou de evaluare (job #1830514)
Borderou de evaluare (job #1830514)
Raport evaluator
Compilare:
user.cpp: In member function ‘void Table::set_score(int, int)’:
user.cpp:111:19: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
stats = stats ^ ( (long long)score( p ) << ( 2 | ( p << 4 ) ) ) | ( (long long)val << ( 2 | ( p << 4 ) ) );
^
user.cpp: In member function ‘void Table::set_king(int, int)’:
user.cpp:121:19: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
stats = stats ^ ( stats & 1 << p ) | ( val << p );
^
user.cpp: In member function ‘bool Table::isCheckMate() const’:
user.cpp:240:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( i = 0; i < aux.size(); i ++ ) {
^
user.cpp:248:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ( i == aux.size() )
^
user.cpp: In member function ‘bool Table::isCheck() const’:
user.cpp:537:17: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
&& ( y != 7 && slot( px, y + 1 ) == Table::Pawn * 2 + !to_move
^
user.cpp: In function ‘int negamax(int, Table&, int, int)’:
user.cpp:618:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( int i = 0; i < aux.size(); i ++ ) {
^
user.cpp:649:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( int i = 0; i < opp_moves.size(); i ++ ) {
^
user.cpp:662:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( int i = 0; i < aux.size(); i ++ ) {
^
user.cpp:680:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( int i = 0; i < next_move.size(); i ++ ) {
^
user.cpp:684:77: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
alpha = max( alpha, -negamax( d - 1 - ( i * 4 >= next_move.size() ) - ( d > 2 && i * 2 >= next_move.size() ), m, -beta, -alpha ) );
^
user.cpp:684:118: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
alpha = max( alpha, -negamax( d - 1 - ( i * 4 >= next_move.size() ) - ( d > 2 && i * 2 >= next_move.size() ), m, -beta, -alpha ) );
^
user.cpp: In function ‘int main()’:
user.cpp:729:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t.push( conv[str[0]] * 2 + str[1] - '0', x, y );
^
user.cpp:737:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( int i = 0; i < aux.size(); i ++ ) {
^
user.cpp:758:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( int i = 0; i < aux.size(); i ++ ) {
^
user.cpp: In member function ‘bool Table::isCheckMate() const’:
user.cpp:250:1: warning: control reaches end of non-void function [-Wreturn-type]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 408kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |