Pagini recente » Borderou de evaluare (job #84615) | Borderou de evaluare (job #600730) | Borderou de evaluare (job #2373232) | Borderou de evaluare (job #533174) | Borderou de evaluare (job #2283552)
Borderou de evaluare (job #2283552)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:75:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("harbingers.in", "r", stdin);
^
main.cpp:76:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("harbingers.out", "w", stdout);
^
main.cpp:79:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
main.cpp:82:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld", &u, &v, &d);
^
main.cpp:88:53: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &mes[i].first, &mes[i].second);
^
main.cpp: In function 'void dfs(long long int, long long int)':
main.cpp:69:9: warning: 'top1' may be used uninitialized in this function [-Wmaybe-uninitialized]
top = top1;
~~~~^~~~~~
main.cpp:70:14: warning: 'ind' may be used uninitialized in this function [-Wmaybe-uninitialized]
stk[pos] = ind;
~~~~~~~~~^~~~~
main.cpp:70:14: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 7ms | 2490kb | OK | 10 |
| 2 | 13ms | 3014kb | OK | 10 |
| 3 | 142ms | 9961kb | Incorect | 0 |
| 4 | 253ms | 13500kb | OK | 10 |
| 5 | 267ms | 16515kb | OK | 10 |
| 6 | 326ms | 19791kb | OK | 10 |
| 7 | 198ms | 11010kb | OK | 10 |
| 8 | 430ms | 15851kb | Incorect | 0 |
| 9 | 500ms | 16896kb | Time limit exceeded | 0 |
| 10 | 471ms | 16113kb | OK | 10 |
| Punctaj total | 70 |