Pagini recente » Borderou de evaluare (job #1153538) | Borderou de evaluare (job #2272164) | Borderou de evaluare (job #3020692) | Borderou de evaluare (job #2441035) | Borderou de evaluare (job #2774440)
Borderou de evaluare (job #2774440)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10: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:12:32: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short unsigned int*' [-Wformat=]
scanf("%d%d%d",&i,&j,&k),g[i].push_back({j,k});
^
main.cpp:12:32: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short unsigned int*' [-Wformat=]
main.cpp:12:32: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short unsigned int*' [-Wformat=]
main.cpp:10: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:10:92: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:10:92: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:12:55: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&i,&j,&k),g[i].push_back({j,k});
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 1310kb | Incorect | 0 |
| 2 | 4ms | 1310kb | Incorect | 0 |
| 3 | 5ms | 1310kb | Incorect | 0 |
| 4 | 6ms | 1310kb | Incorect | 0 |
| 5 | 22ms | 1703kb | Incorect | 0 |
| 6 | 39ms | 1961kb | Incorect | 0 |
| 7 | 48ms | 1961kb | Incorect | 0 |
| 8 | 119ms | 3526kb | Incorect | 0 |
| 9 | 67ms | 2482kb | Incorect | 0 |
| 10 | 209ms | 3526kb | Incorect | 0 |
| Punctaj total | 0 |