Pagini recente » Cod sursa (job #1408751) | Borderou de evaluare (job #2642927) | Borderou de evaluare (job #1145551) | Borderou de evaluare (job #2257812) | Borderou de evaluare (job #2285466)
Borderou de evaluare (job #2285466)
Raport evaluator
Compilare:
main.cpp: In function 'void read(int&, int&, std::vector<std::vector<std::pair<int, int> > >&)':
main.cpp:12:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
main.cpp:19:51: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &source, &target, &cost);
^
main.cpp: In function 'int main()':
main.cpp:50:39: 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);
^
main.cpp:51:41: 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);
^
| 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 | 33ms | 1437kb | OK | 10 |
| 6 | 63ms | 2351kb | OK | 10 |
| 7 | 87ms | 3661kb | OK | 10 |
| 8 | 403ms | 7327kb | Time limit exceeded | 0 |
| 9 | 142ms | 6672kb | OK | 10 |
| 10 | 333ms | 9555kb | OK | 10 |
| Punctaj total | 90 |