Borderou de evaluare (job #2340411)
Raport evaluator
Compilare:
main.cpp: In function 'std::pair<long long int, long long int> dfs(int, int)':
main.cpp:43:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size(); ++i)
~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:50:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arb2.in", "r", stdin);
^
main.cpp:51:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arb2.out", "w", stdout);
^
main.cpp:54:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:57:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &u, &v ,&d, &c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 6ms | 2490kb | OK | 5 |
| 2 | 7ms | 2490kb | OK | 5 |
| 3 | 7ms | 2490kb | OK | 5 |
| 4 | 7ms | 2490kb | OK | 5 |
| 5 | 8ms | 2621kb | OK | 5 |
| 6 | 9ms | 2621kb | OK | 5 |
| 7 | 10ms | 2621kb | OK | 5 |
| 8 | 42ms | 3801kb | OK | 5 |
| 9 | 56ms | 4325kb | OK | 5 |
| 10 | 73ms | 4849kb | OK | 5 |
| 11 | 109ms | 5767kb | OK | 5 |
| 12 | 127ms | 6291kb | OK | 5 |
| 13 | 135ms | 6815kb | OK | 5 |
| 14 | 151ms | 7340kb | Time limit exceeded | 0 |
| 15 | 152ms | 7864kb | Time limit exceeded | 0 |
| 16 | 155ms | 7733kb | Time limit exceeded | 0 |
| 17 | 150ms | 5103kb | Time limit exceeded | 0 |
| 18 | 155ms | 7864kb | Time limit exceeded | 0 |
| 19 | 151ms | 5664kb | Time limit exceeded | 0 |
| 20 | 152ms | 7864kb | Time limit exceeded | 0 |
| Punctaj total | 65 |