Pagini recente » Cod sursa (job #90338) | Borderou de evaluare (job #1918789) | Borderou de evaluare (job #1969224) | Cod sursa (job #53015) | Borderou de evaluare (job #2288316)
Borderou de evaluare (job #2288316)
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 | OK | 10 |
| 7 | 72ms | 2228kb | OK | 10 |
| 8 | 156ms | 5505kb | OK | 10 |
| 9 | 89ms | 3407kb | OK | 10 |
| 10 | 293ms | 9043kb | OK | 10 |
| Punctaj total | 100 |