Pagini recente » Borderou de evaluare (job #487628) | Borderou de evaluare (job #2043175) | Borderou de evaluare (job #2374995) | Borderou de evaluare (job #847841) | Borderou de evaluare (job #1043236)
Borderou de evaluare (job #1043236)
Raport evaluator
Compilare:
user.cpp: In function ‘void Lines()’:
user.cpp:20:12: warning: unused variable ‘j’ [-Wunused-variable]
short i , j ;
^
user.cpp: In function ‘void Column()’:
user.cpp:62:12: warning: unused variable ‘j’ [-Wunused-variable]
short i , j ;
^
user.cpp: In function ‘void SecondD()’:
user.cpp:119:12: warning: unused variable ‘j’ [-Wunused-variable]
short i , j , k = 0 , pos_Answer;
^
user.cpp: In function ‘int main()’:
user.cpp:145:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(in,"%d",&N);
^
user.cpp:148:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=]
fscanf(in,"%d",&M[i][j]);
^
user.cpp:172:6: warning: unused variable ‘k’ [-Wunused-variable]
int k = 0 , pos_Answer;
^
user.cpp:172:14: warning: unused variable ‘pos_Answer’ [-Wunused-variable]
int k = 0 , pos_Answer;
^
user.cpp: In function ‘void Column()’:
user.cpp:98:20: warning: array subscript is above array bounds [-Warray-bounds]
if ( DP[N][i][4] < INF )
^
user.cpp:101:33: warning: array subscript is above array bounds [-Warray-bounds]
if ( DP[N][i-1][4] < INF and DP[N][i-1][4] )
^
user.cpp:104:33: warning: array subscript is above array bounds [-Warray-bounds]
if ( DP[N][i+1][4] < INF and DP[N][i+1][4])
^
user.cpp:72:51: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
++k , pos_Answer += DP[N][i-1][2];
^
user.cpp:60:6: warning: ‘nr_seg_lsm.115’ may be used uninitialized in this function [-Wmaybe-uninitialized]
void Column ( void )
^
user.cpp: In function ‘void SecondD()’:
user.cpp:124:19: warning: array subscript is above array bounds [-Warray-bounds]
if ( DP[i][N][4] < INF )
^
user.cpp:126:27: warning: array subscript is above array bounds [-Warray-bounds]
pos_Answer = DP[1][i][4];
^
user.cpp:127:21: warning: array subscript is above array bounds [-Warray-bounds]
if ( DP[1][i-1][4] < INF and DP[1][i-1][4] )
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | OK | 10 |
2 | 0ms | 380kb | OK | 10 |
3 | 12ms | Depăşit | Memory limit exceeded. | 0 |
4 | 44ms | Depăşit | Memory limit exceeded. | 0 |
5 | 72ms | Depăşit | Memory limit exceeded. | 0 |
6 | 76ms | Depăşit | Memory limit exceeded. | 0 |
7 | 60ms | Depăşit | Memory limit exceeded. | 0 |
8 | 60ms | Depăşit | Memory limit exceeded. | 0 |
9 | 76ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | 280kb | OK | 10 |
Punctaj total | 30 |