Pagini recente » Borderou de evaluare (job #1931081) | Borderou de evaluare (job #2308914) | Borderou de evaluare (job #3112848) | Borderou de evaluare (job #1738374) | Borderou de evaluare (job #2288314)
Borderou de evaluare (job #2288314)
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 |