Pagini recente » Borderou de evaluare (job #1352210) | Borderou de evaluare (job #390783) | Borderou de evaluare (job #1498462) | Borderou de evaluare (job #2637233) | Borderou de evaluare (job #2462420)
Borderou de evaluare (job #2462420)
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 | 114ms | 39190kb | OK | 5 |
| 2 | 105ms | 39321kb | OK | 5 |
| 3 | 159ms | 39452kb | OK | 5 |
| 4 | 263ms | 39714kb | OK | 5 |
| 5 | 392ms | 39972kb | OK | 5 |
| 6 | 279ms | 40103kb | OK | 5 |
| 7 | 399ms | 40103kb | OK | 5 |
| 8 | 412ms | 40103kb | OK | 5 |
| 9 | 528ms | 40235kb | OK | 5 |
| 10 | 439ms | 40103kb | OK | 5 |
| 11 | 392ms | 40235kb | OK | 5 |
| 12 | 519ms | 40235kb | OK | 5 |
| 13 | 229ms | 39972kb | OK | 5 |
| 14 | 547ms | 40235kb | OK | 5 |
| 15 | 2502ms | 42156kb | Time limit exceeded | 0 |
| 16 | 2504ms | 42266kb | Time limit exceeded | 0 |
| 17 | 2506ms | 42397kb | Time limit exceeded | 0 |
| 18 | 2500ms | 42459kb | Time limit exceeded | 0 |
| 19 | 1869ms | 42713kb | OK | 5 |
| 20 | 2500ms | 42717kb | Time limit exceeded | 0 |
| Punctaj total | 75 |