Pagini recente » Borderou de evaluare (job #691141) | Borderou de evaluare (job #2191417) | Borderou de evaluare (job #2440856) | Borderou de evaluare (job #2724506) | Borderou de evaluare (job #2335075)
Borderou de evaluare (job #2335075)
Raport evaluator
Compilare:
main.cpp: In function 'void bfs()':
main.cpp:29:21: warning: array subscript has type 'char' [-Wchar-subscripts]
d[0][0][mark[0][0]] = 1;
^
main.cpp:41:46: warning: array subscript has type 'char' [-Wchar-subscripts]
if(bun(ma[nx][ny], k) && d[nx][ny][nk] == 0){
^
main.cpp:42:23: warning: array subscript has type 'char' [-Wchar-subscripts]
d[nx][ny][nk] = d[x][y][k] + 1;
^
main.cpp:42:36: warning: array subscript has type 'char' [-Wchar-subscripts]
d[nx][ny][nk] = d[x][y][k] + 1;
^
main.cpp: In function 'int main()':
main.cpp:60:33: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
fscanf(in, "%d", &ma[i][j]);
^
main.cpp:54:65: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d%d%d%d%d%d", &n, &k1, &k2, &l1, &c1, &l2, &c2);
^
main.cpp:60:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &ma[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 4ms | 524kb | OK | 10 |
4 | 133ms | 8126kb | OK | 10 |
5 | 139ms | 8126kb | Incorect | 0 |
6 | 194ms | 10354kb | Incorect | 0 |
7 | 240ms | 12976kb | OK | 10 |
8 | 194ms | 2097kb | Incorect | 0 |
9 | 442ms | 22151kb | OK | 10 |
10 | 5ms | 524kb | Incorect | 0 |
Punctaj total | 40 |