Pagini recente » Clasament gdrgasd | Borderou de evaluare (job #2487832) | Cod sursa (job #836588) | Borderou de evaluare (job #2182057) | Borderou de evaluare (job #2285467)
Borderou de evaluare (job #2285467)
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 | 83ms | 3530kb | OK | 10 |
| 8 | 403ms | 7327kb | Time limit exceeded | 0 |
| 9 | 133ms | 6410kb | OK | 10 |
| 10 | 351ms | 9687kb | OK | 10 |
| Punctaj total | 90 |