Pagini recente » Borderou de evaluare (job #224532) | Borderou de evaluare (job #2987284) | Cod sursa (job #1982922) | Borderou de evaluare (job #1286129) | Borderou de evaluare (job #1601773)
Borderou de evaluare (job #1601773)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:37: 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);
^
user.cpp:27:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out","w",stdout);
^
user.cpp:28:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:29:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=m;++i) {scanf("%d%d%d", &x, &y, &c); a[x].push_back(make_pair(c, y));}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 2816kb | OK | 10 |
| 2 | 4ms | 2808kb | OK | 10 |
| 3 | 4ms | 2836kb | OK | 10 |
| 4 | 4ms | 2852kb | OK | 10 |
| 5 | 24ms | 3144kb | OK | 10 |
| 6 | 44ms | 3436kb | OK | 10 |
| 7 | 56ms | 3628kb | OK | 10 |
| 8 | 72ms | 3780kb | OK | 10 |
| 9 | 216ms | 5492kb | OK | 10 |
| 10 | 284ms | 6284kb | OK | 10 |
| Punctaj total | 100 |