Pagini recente » Cod sursa (job #2859618) | knumere | Borderou de evaluare (job #2506785) | Borderou de evaluare (job #2446551) | Borderou de evaluare (job #2288361)
Borderou de evaluare (job #2288361)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16: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:18: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:18:32: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short unsigned int*' [-Wformat=]
main.cpp:18:32: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short unsigned int*' [-Wformat=]
main.cpp:16: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:16:92: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:16:92: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:18: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 | 54ms | 1703kb | Incorect | 0 |
| 7 | 71ms | 2228kb | Incorect | 0 |
| 8 | 176ms | 5505kb | OK | 10 |
| 9 | 107ms | 3407kb | OK | 10 |
| 10 | 292ms | 9043kb | Incorect | 0 |
| Punctaj total | 70 |