Pagini recente » Borderou de evaluare (job #1011436) | Monitorul de evaluare | Borderou de evaluare (job #3341456) | Borderou de evaluare (job #1425824) | Borderou de evaluare (job #1603134)
Borderou de evaluare (job #1603134)
Raport evaluator
Compilare:
user.c: In function ‘read’:
user.c:11:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &k), *n = k;
^
user.c:14:15: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &v[i]);
^
user.c:16:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &k), *t = k;
^
user.c: In function ‘main’:
user.c:79:13: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen (IN, "r", stdin);
^
user.c:80:13: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen (OUT, "w", stdout);
^
user.c:87:15: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &k, &x);
^
user.c: In function ‘binSearch1’:
user.c:56:5: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return pos + 1;
^
user.c: In function ‘binSearch2’:
user.c:75:5: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return pos + 1;
^
user.c: In function ‘main’:
user.c:75:5: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.c:60:29: note: ‘pos’ was declared here
int right, left, midle, pos;
^
user.c:56:5: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return pos + 1;
^
user.c:41:29: note: ‘pos’ was declared here
int right, left, midle, pos;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 292kb | OK | 10 | 10 |
| 2 | 0ms | 284kb | OK | 10 | 10 |
| 3 | 0ms | 280kb | OK | 10 | 10 |
| 4 | 4ms | 288kb | OK | 10 | 10 |
| 5 | 24ms | 324kb | OK | 10 | 20 |
| 6 | 80ms | 476kb | OK | 10 |
| 7 | 116ms | 668kb | OK | 10 | 40 |
| 8 | 124ms | 672kb | OK | 10 |
| 9 | 124ms | 668kb | OK | 10 |
| 10 | 124ms | 672kb | OK | 10 |
| Punctaj total | 100 |