Pagini recente » Borderou de evaluare (job #2349732) | Borderou de evaluare (job #2048275) | Borderou de evaluare (job #3283917) | Borderou de evaluare (job #2222412) | Borderou de evaluare (job #2475230)
Borderou de evaluare (job #2475230)
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 | 126ms | 54657kb | OK | 5 |
| 2 | 118ms | 54657kb | OK | 5 |
| 3 | 131ms | 54657kb | OK | 5 |
| 4 | 137ms | 54788kb | OK | 5 |
| 5 | 166ms | 54788kb | OK | 5 |
| 6 | 154ms | 54788kb | OK | 5 |
| 7 | 158ms | 54788kb | OK | 5 |
| 8 | 167ms | 54788kb | OK | 5 |
| 9 | 221ms | 54919kb | OK | 5 |
| 10 | 181ms | 54919kb | OK | 5 |
| 11 | 189ms | 54919kb | OK | 5 |
| 12 | 230ms | 54919kb | OK | 5 |
| 13 | 154ms | 54919kb | OK | 5 |
| 14 | 239ms | 54919kb | OK | 5 |
| 15 | 775ms | 55324kb | OK | 5 |
| 16 | 918ms | 55459kb | OK | 5 |
| 17 | 793ms | 55525kb | OK | 5 |
| 18 | 896ms | 55640kb | OK | 5 |
| 19 | 473ms | 55570kb | OK | 5 |
| 20 | 890ms | 55570kb | OK | 5 |
| Punctaj total | 100 |