Pagini recente » Borderou de evaluare (job #1934584) | Borderou de evaluare (job #1444540) | Borderou de evaluare (job #3279301) | Borderou de evaluare (job #2875137) | Borderou de evaluare (job #1760901)
Borderou de evaluare (job #1760901)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:65:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("treesearch.in", "r", stdin);
^
user.cpp:66:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("treesearch.out", "w", stdout);
^
user.cpp:67:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:68:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 1; i <= n; i++) scanf("%d", &cost[i]);
^
user.cpp:71:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &u, &v);
^
user.cpp:84:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &u);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1620kb | OK | 10 |
| 2 | 0ms | 1640kb | OK | 10 |
| 3 | 4ms | 1704kb | OK | 10 |
| 4 | 12ms | 1876kb | OK | 10 |
| 5 | 16ms | 2052kb | OK | 10 |
| 6 | 44ms | 2668kb | OK | 10 |
| 7 | 100ms | 3716kb | OK | 10 |
| 8 | 144ms | 4572kb | OK | 10 |
| 9 | 200ms | 5408kb | OK | 10 |
| 10 | 228ms | 5816kb | OK | 10 |
| Punctaj total | 100 |