Pagini recente » Borderou de evaluare (job #1045662) | Borderou de evaluare (job #2277179) | Borderou de evaluare (job #1190025) | Borderou de evaluare (job #2404213) | Borderou de evaluare (job #2462427)
Borderou de evaluare (job #2462427)
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 | 109ms | 39321kb | OK | 5 |
| 2 | 115ms | 39321kb | OK | 5 |
| 3 | 149ms | 39452kb | OK | 5 |
| 4 | 248ms | 39845kb | OK | 5 |
| 5 | 436ms | 40071kb | OK | 5 |
| 6 | 282ms | 40026kb | OK | 5 |
| 7 | 407ms | 40079kb | OK | 5 |
| 8 | 395ms | 40103kb | OK | 5 |
| 9 | 416ms | 40235kb | OK | 5 |
| 10 | 398ms | 40103kb | OK | 5 |
| 11 | 395ms | 40103kb | OK | 5 |
| 12 | 532ms | 40103kb | OK | 5 |
| 13 | 272ms | 40132kb | OK | 5 |
| 14 | 524ms | 40103kb | OK | 5 |
| 15 | 2503ms | 42192kb | Time limit exceeded | 0 |
| 16 | 2502ms | 42319kb | Time limit exceeded | 0 |
| 17 | 2310ms | 42479kb | OK | 5 |
| 18 | 2503ms | 42557kb | Time limit exceeded | 0 |
| 19 | 1644ms | 42586kb | OK | 5 |
| 20 | 2501ms | 42717kb | Time limit exceeded | 0 |
| Punctaj total | 80 |