Pagini recente » Borderou de evaluare (job #1043555) | Borderou de evaluare (job #1414407) | Borderou de evaluare (job #3223735) | Borderou de evaluare (job #2384856) | Borderou de evaluare (job #1321223)
Borderou de evaluare (job #1321223)
Raport evaluator
Compilare:
user.cpp: In function ‘void afisare(nod*)’:
user.cpp:48:27: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(a<=p->left->xright && p->left->xright<=b || a<=p->left->xleft && p->left->xleft<=b)
^
user.cpp:50:27: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(a<=p->right->xleft && p->right->xleft<=b || a<=p->right->xright && p->right->xright<=b)
^
user.cpp: In function ‘int main()’:
user.cpp:79:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d ", &v[i]);
^
user.cpp:91:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", mx);
^
user.cpp:75:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.in", "r", stdin);
^
user.cpp:76:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.out", "w", stdout);
^
user.cpp:77:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ", &n, &m);
^
user.cpp:79:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &v[i]);
^
user.cpp:84:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %lld %lld ", &op, &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 276kb | Incorect | 0 | 0 |
2 | 8ms | 284kb | Incorect | 0 | 0 |
3 | 12ms | 416kb | Incorect | 0 | 0 |
4 | 36ms | 628kb | Incorect | 0 | 0 |
5 | 60ms | 5192kb | Incorect | 0 | 0 |
6 | 76ms | 6596kb | Incorect | 0 | 0 |
7 | 216ms | 7300kb | OK | 10 |
8 | 144ms | 6320kb | Incorect | 0 |
9 | 148ms | 6956kb | Incorect | 0 |
10 | 152ms | 7300kb | Incorect | 0 |
Punctaj total | 0 |