Pagini recente » Borderou de evaluare (job #2680857) | Borderou de evaluare (job #80272) | Borderou de evaluare (job #3232824) | Borderou de evaluare (job #2351257) | Borderou de evaluare (job #2806364)
Borderou de evaluare (job #2806364)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:33:29: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
33 | fscanf(f, "%d", &a[i][j]);
| ~^ ~~~~~~~~
| | |
| | short int*
| int*
| %hd
main.cpp:51:35: warning: narrowing conversion of 'xx' from 'int' to 'short int' [-Wnarrowing]
51 | q.push_back({ xx,yy });
| ^~
main.cpp:51:38: warning: narrowing conversion of 'yy' from 'int' to 'short int' [-Wnarrowing]
51 | q.push_back({ xx,yy });
| ^~
main.cpp:56:36: warning: narrowing conversion of 'xx' from 'int' to 'short int' [-Wnarrowing]
56 | q.push_front({ xx,yy });
| ^~
main.cpp:56:39: warning: narrowing conversion of 'yy' from 'int' to 'short int' [-Wnarrowing]
56 | q.push_front({ xx,yy });
| ^~
main.cpp:76:29: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
76 | fscanf(f, "%d", &a[i][j]);
| ~^ ~~~~~~~~
| | |
| | short int*
| int*
| %hd
main.cpp:23:41: warning: unused variable 'aux' [-Wunused-variable]
23 | int p, n, G, i, j, x, y, xx, yy, k, aux, ma = -1, ss = 0, st, dr, mij;
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 5 |
2 | 2ms | 184kb | OK | 5 |
3 | 2ms | 184kb | OK | 5 |
4 | 6ms | 2355kb | OK | 5 |
5 | 6ms | 2297kb | OK | 5 |
6 | 16ms | 2355kb | OK | 5 |
7 | 25ms | 2355kb | OK | 5 |
8 | 74ms | 2588kb | OK | 5 |
9 | 83ms | 2527kb | OK | 5 |
10 | 93ms | 2613kb | OK | 5 |
11 | 97ms | 2654kb | OK | 5 |
12 | 2ms | 184kb | OK | 5 |
13 | 6ms | 2355kb | OK | 5 |
14 | 16ms | 2355kb | OK | 5 |
15 | 25ms | 2342kb | OK | 5 |
16 | 54ms | 2633kb | OK | 5 |
17 | 78ms | 2850kb | OK | 5 |
18 | 63ms | 2748kb | OK | 5 |
19 | 88ms | 3088kb | OK | 5 |
20 | 78ms | 2654kb | OK | 5 |
Punctaj total | 100 |