Pagini recente » Cod sursa (job #1206823) | Atasamentele paginii Profil calinbalan11 | Borderou de evaluare (job #372594) | Borderou de evaluare (job #562615) | Borderou de evaluare (job #2288201)
Borderou de evaluare (job #2288201)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11: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:13: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:13:32: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short unsigned int*' [-Wformat=]
main.cpp:13:32: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short unsigned int*' [-Wformat=]
main.cpp:11: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:11:92: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:11:92: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:13: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 | 131kb | OK | 10 |
| 4 | 5ms | 262kb | OK | 10 |
| 5 | 28ms | 1048kb | OK | 10 |
| 6 | 53ms | 1703kb | OK | 10 |
| 7 | 70ms | 2359kb | OK | 10 |
| 8 | 160ms | 5636kb | OK | 10 |
| 9 | 92ms | 3538kb | OK | 10 |
| 10 | 283ms | 9175kb | OK | 10 |
| Punctaj total | 100 |