Pagini recente » Borderou de evaluare (job #1922225) | Borderou de evaluare (job #1495173) | Borderou de evaluare (job #1602396) | Borderou de evaluare (job #2527928) | Borderou de evaluare (job #2462418)
Borderou de evaluare (job #2462418)
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 | 143ms | 39321kb | OK | 5 |
| 2 | 117ms | 39321kb | OK | 5 |
| 3 | 150ms | 39452kb | OK | 5 |
| 4 | 252ms | 39714kb | OK | 5 |
| 5 | 393ms | 39972kb | OK | 5 |
| 6 | 286ms | 40103kb | OK | 5 |
| 7 | 407ms | 40103kb | OK | 5 |
| 8 | 390ms | 40103kb | OK | 5 |
| 9 | 438ms | 40366kb | OK | 5 |
| 10 | 407ms | 40157kb | OK | 5 |
| 11 | 397ms | 40103kb | OK | 5 |
| 12 | 563ms | 40210kb | OK | 5 |
| 13 | 243ms | 40103kb | OK | 5 |
| 14 | 485ms | 40235kb | OK | 5 |
| 15 | 2486ms | 42192kb | OK | 5 |
| 16 | 2501ms | 42336kb | Time limit exceeded | 0 |
| 17 | 2446ms | 42455kb | OK | 5 |
| 18 | 2500ms | 42622kb | Time limit exceeded | 0 |
| 19 | 1737ms | 42688kb | OK | 5 |
| 20 | 2503ms | 42790kb | Time limit exceeded | 0 |
| Punctaj total | 85 |