Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2288314)
| Utilizator | Data | 23 noiembrie 2018 09:16:13 | |
|---|---|---|---|
| Problema | Algoritmul lui Dijkstra | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:91: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short unsigned int*' [-Wformat=]
freopen("dijkstra.in","r",stdin),freopen("dijkstra.out","w",stdout),scanf("%d%d",&n,&m);
^
main.cpp:19:32: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short unsigned int*' [-Wformat=]
scanf("%d%d%d",&u,&w,&f);
^
main.cpp:19:32: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short unsigned int*' [-Wformat=]
main.cpp:19:32: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short unsigned int*' [-Wformat=]
main.cpp:17:92: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in","r",stdin),freopen("dijkstra.out","w",stdout),scanf("%d%d",&n,&m);
^
main.cpp:17:92: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:17:92: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:19:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&u,&w,&f);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 4ms | 262kb | OK | 10 |
| 4 | 5ms | 262kb | OK | 10 |
| 5 | 29ms | 1048kb | OK | 10 |
| 6 | 53ms | 1703kb | OK | 10 |
| 7 | 73ms | 2228kb | OK | 10 |
| 8 | 158ms | 5505kb | OK | 10 |
| 9 | 89ms | 3407kb | OK | 10 |
| 10 | 323ms | 9043kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
