Pagini recente » Borderou de evaluare (job #2833525) | Borderou de evaluare (job #2927667) | Borderou de evaluare (job #1425702) | Borderou de evaluare (job #1187689) | Borderou de evaluare (job #2024110)
Borderou de evaluare (job #2024110)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(int)’:
user.cpp:39:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (arb[node].size() == 1)
^
user.cpp:43:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (arb[node].size() == 2)
^
user.cpp: In function ‘int main()’:
user.cpp:51:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("treap.in", "r",stdin);
^
user.cpp:52:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("treap.out", "w", stdout);
^
user.cpp:54:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:58:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &x, &y);
^
user.cpp:64:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &key[i]);
^
user.cpp:67:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &prio[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 196ms | 8140kb | OK | 5 | 100 |
| 2 | 320ms | 10660kb | OK | 5 |
| 3 | 156ms | 7468kb | OK | 5 |
| 4 | 300ms | 10372kb | OK | 5 |
| 5 | 64ms | 5424kb | OK | 5 |
| 6 | 40ms | 4848kb | OK | 5 |
| 7 | 4ms | 3984kb | OK | 5 |
| 8 | 4ms | 3992kb | OK | 5 |
| 9 | 256ms | 9372kb | OK | 5 |
| 10 | 204ms | 8372kb | OK | 5 |
| 11 | 284ms | 10364kb | OK | 5 |
| 12 | 208ms | 8748kb | OK | 5 |
| 13 | 208ms | 8820kb | OK | 5 |
| 14 | 152ms | 7484kb | OK | 5 |
| 15 | 120ms | 6792kb | OK | 5 |
| 16 | 312ms | 10844kb | OK | 5 |
| 17 | 280ms | 10252kb | OK | 5 |
| 18 | 284ms | 10276kb | OK | 5 |
| 19 | 228ms | 8940kb | OK | 5 |
| 20 | 328ms | 11148kb | OK | 5 |
| Punctaj total | 100 |