Pagini recente » Borderou de evaluare (job #3275221) | Borderou de evaluare (job #1874958) | Borderou de evaluare (job #1164923) | Borderou de evaluare (job #995831) | Borderou de evaluare (job #2774439)
Borderou de evaluare (job #2774439)
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 | 6ms | 1310kb | Incorect | 0 |
| 4 | 6ms | 1310kb | Incorect | 0 |
| 5 | 22ms | 1572kb | Incorect | 0 |
| 6 | 37ms | 1703kb | Incorect | 0 |
| 7 | 48ms | 1703kb | Incorect | 0 |
| 8 | 118ms | 2482kb | Incorect | 0 |
| 9 | 52ms | 1961kb | Incorect | 0 |
| 10 | 202ms | 2609kb | Incorect | 0 |
| Punctaj total | 0 |