Pagini recente » Borderou de evaluare (job #682822) | Borderou de evaluare (job #2035604) | Borderou de evaluare (job #2814965) | Borderou de evaluare (job #1238937) | Borderou de evaluare (job #1585409)
Borderou de evaluare (job #1585409)
Raport evaluator
Compilare:
user.cpp: In function ‘void fill(pair, int)’:
user.cpp:40:25: warning: narrowing conversion of ‘(((int)node.pair::l) + ((int)delta[i][0]))’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
pair next = {node.l + delta[i][0], node.c + delta[i][1]};
^
user.cpp:40:47: warning: narrowing conversion of ‘(((int)node.pair::c) + ((int)delta[i][1]))’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
pair next = {node.l + delta[i][0], node.c + delta[i][1]};
^
user.cpp: In function ‘void bfs(pair)’:
user.cpp:59:22: warning: narrowing conversion of ‘(((int)node.pair::l) + ((int)delta[i][0]))’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
next = {node.l + delta[i][0], node.c + delta[i][1]};
^
user.cpp:59:44: warning: narrowing conversion of ‘(((int)node.pair::c) + ((int)delta[i][1]))’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
next = {node.l + delta[i][0], node.c + delta[i][1]};
^
user.cpp: In function ‘int main()’:
user.cpp:71:82: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
fscanf(f, "%d %d %d %d %d %d", &N, &M, &start.l, &start.c, &finish.l, &finish.c);
^
user.cpp:71:82: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=]
user.cpp:71:82: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short int*’ [-Wformat=]
user.cpp:71:82: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘short int*’ [-Wformat=]
user.cpp:74:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(f, "%d", &tree[i][j]);
^
user.cpp:68:13: warning: unused variable ‘x’ [-Wunused-variable]
int i, j, x;
^
user.cpp:71:83: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d %d %d %d %d", &N, &M, &start.l, &start.c, &finish.l, &finish.c);
^
user.cpp:74:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &tree[i][j]);
^
user.cpp:93:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("padure.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 9636kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 16ms | 9632kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 16ms | 9624kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 16ms | 9668kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 16ms | 9660kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 16ms | 10000kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 20ms | 10356kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 20ms | 10720kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 4ms | 4400kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 8ms | 4524kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |