Pagini recente » Borderou de evaluare (job #601933) | Borderou de evaluare (job #2829500) | Borderou de evaluare (job #3194862) | Borderou de evaluare (job #1188949) | Borderou de evaluare (job #1321217)
Borderou de evaluare (job #1321217)
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:84:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf("%d %d %d ", &op, &a, &b);
^
user.cpp:84:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
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:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d ", &op, &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 260kb | Incorect | 0 | 0 |
2 | 8ms | 280kb | Incorect | 0 | 0 |
3 | 12ms | 404kb | Incorect | 0 | 0 |
4 | 36ms | 620kb | Incorect | 0 | 0 |
5 | 60ms | 5188kb | Incorect | 0 | 0 |
6 | 76ms | 6592kb | Incorect | 0 | 0 |
7 | 216ms | 7296kb | OK | 10 |
8 | 148ms | 6316kb | Incorect | 0 |
9 | 148ms | 6944kb | Incorect | 0 |
10 | 156ms | 7296kb | Incorect | 0 |
Punctaj total | 0 |