Pagini recente » Borderou de evaluare (job #1889803) | Borderou de evaluare (job #54660) | Borderou de evaluare (job #2970543) | Borderou de evaluare (job #2574214) | Borderou de evaluare (job #1683483)
Borderou de evaluare (job #1683483)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:62:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("procol.in","r",stdin);
^
user.cpp:63:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("procol.out","w",stdout);
^
user.cpp:65:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&op);
^
user.cpp:68:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &k, &c);
^
user.cpp:71:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:76:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("procol.in", "r", stdin);
^
user.cpp:77:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("procol.out", "w", stdout);
^
user.cpp:78:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &op, &n, &k, &c);
^
user.cpp:82:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[j]);
^
user.cpp:99:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &k, &c);
^
user.cpp:101:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:116:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &k, &c);
^
user.cpp: In function ‘int bsleft(int, int, int)’:
user.cpp:25:12: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^
user.cpp: In function ‘int main()’:
user.cpp:89:37: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
vop[poz].ans = maxim;
^
user.cpp:84:38: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (vop[poz].ans + 1 > maxim)
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 260ms | 1856kb | OK | 10 |
✗ | 2 | 272ms | 1856kb | OK | 10 |
✓ | 3 | 0ms | 300kb | OK | 10 |
✗ | 4 | 44ms | 688kb | OK | 10 |
✗ | 5 | 48ms | 684kb | OK | 10 |
✗ | 6 | 112ms | 292kb | OK | 10 |
✗ | 7 | 0ms | 280kb | OK | 10 |
✓ | 8 | 112ms | 292kb | OK | 10 |
✗ | 9 | 104ms | 292kb | OK | 10 |
✗ | 10 | 136ms | 292kb | OK | 10 |
Punctaj total | 100 |