Pagini recente » Borderou de evaluare (job #2523472) | Borderou de evaluare (job #2745381) | Borderou de evaluare (job #11763) | Borderou de evaluare (job #813239) | Borderou de evaluare (job #2462429)
Borderou de evaluare (job #2462429)
Raport evaluator
Compilare:
main.cpp: In function 'void belford(int, int)':
main.cpp:49:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[u].size(); i++)
~^~~~~~~~~~~~
main.cpp: In function 'bool dijkstra(int, int)':
main.cpp:71:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[u.nod].size(); i++)
~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:105:45: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
scanf("%d%d", &nave[i].x, &nave[i].y);
^
main.cpp:105:45: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
main.cpp:100:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("naveplanare.in", "r", stdin);
^
main.cpp:101:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("naveplanare.out", "w", stdout);
^
main.cpp:103:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
main.cpp:105:46: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &nave[i].x, &nave[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 108ms | 39321kb | OK | 5 |
2 | 107ms | 39362kb | OK | 5 |
3 | 159ms | 39452kb | OK | 5 |
4 | 248ms | 39845kb | OK | 5 |
5 | 343ms | 39972kb | OK | 5 |
6 | 246ms | 39972kb | OK | 5 |
7 | 376ms | 40103kb | OK | 5 |
8 | 378ms | 40103kb | OK | 5 |
9 | 516ms | 40235kb | OK | 5 |
10 | 430ms | 40103kb | OK | 5 |
11 | 397ms | 40103kb | OK | 5 |
12 | 509ms | 40103kb | OK | 5 |
13 | 255ms | 40103kb | OK | 5 |
14 | 533ms | 40132kb | OK | 5 |
15 | 2503ms | 42180kb | Time limit exceeded | 0 |
16 | 2500ms | 42323kb | Time limit exceeded | 0 |
17 | 2501ms | 42455kb | Time limit exceeded | 0 |
18 | 2502ms | 42573kb | Time limit exceeded | 0 |
19 | 1869ms | 42586kb | OK | 5 |
20 | 2503ms | 42717kb | Time limit exceeded | 0 |
Punctaj total | 75 |