Pagini recente » Borderou de evaluare (job #2288272) | Borderou de evaluare (job #1655938) | Borderou de evaluare (job #2288466) | Borderou de evaluare (job #1304934) | Borderou de evaluare (job #1637625)
Borderou de evaluare (job #1637625)
Raport evaluator
Compilare:
user.cpp: In function ‘int arbQuery(int, int, int, int, int&)’:
user.cpp:58:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (st!=dr && remain + arb[nod].ad <= upval && remain + arb[nod].best >= upval)
^
user.cpp: In function ‘void citire()’:
user.cpp:16:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:19:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp: In function ‘int main()’:
user.cpp:85:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbore.in", "r", stdin);
^
user.cpp:86:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbore.out", "w", stdout);
^
user.cpp:93:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &tip);
^
user.cpp:95:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp:99:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1628kb | OK! | 5 |
| 2 | 4ms | 1676kb | OK! | 5 |
| 3 | 32ms | 2224kb | OK! | 5 |
| 4 | 44ms | 2828kb | OK! | 5 |
| 5 | 116ms | 4364kb | OK! | 5 |
| 6 | 132ms | 4704kb | OK! | 5 |
| 7 | 204ms | 6416kb | OK! | 5 |
| 8 | 216ms | 6760kb | OK! | 5 |
| 9 | 232ms | 6756kb | OK! | 5 |
| 10 | 264ms | 7092kb | OK! | 5 |
| 11 | 124ms | 4372kb | OK! | 5 |
| 12 | 172ms | 4716kb | OK! | 5 |
| 13 | 196ms | 4716kb | OK! | 5 |
| 14 | 204ms | 6084kb | OK! | 5 |
| 15 | 224ms | 6088kb | OK! | 5 |
| 16 | 236ms | 6428kb | OK! | 5 |
| 17 | 268ms | 6420kb | OK! | 5 |
| 18 | 272ms | 6768kb | OK! | 5 |
| 19 | 304ms | 6764kb | OK! | 5 |
| 20 | 320ms | 7104kb | OK! | 5 |
| Punctaj total | 100 |