Pagini recente » Borderou de evaluare (job #368519) | Borderou de evaluare (job #1160232) | Borderou de evaluare (job #497754) | Borderou de evaluare (job #840828) | Borderou de evaluare (job #2235212)
Borderou de evaluare (job #2235212)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:177:22: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(f,1,MAX,IN);
^
user.cpp:110:27: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int lw=p,hi=N,mid,last;
^~~~
user.cpp:110:27: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:86:70: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Val+=Cost[dir][type][r]-Cost[dir][type][l-1]-1LL*(Cnt[type][r]-Cnt[type][l-1])*(l-1);
~~~~~~~~~~~^
user.cpp:110:27: note: ‘last’ was declared here
int lw=p,hi=N,mid,last;
^~~~
user.cpp:88:85: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Val+=Cost[dir][type][l]-Cost[dir][type][r+1]-1LL*(Cnt[type][r]-Cnt[type][l-1])*(N-r);
~~~~~~~~~~~~~^
user.cpp:110:27: note: ‘last’ was declared here
int lw=p,hi=N,mid,last;
^~~~
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 8ms | 17712kb | OK | 5 | 20 |
✓ | 2 | 8ms | 17708kb | OK | 5 |
✓ | 3 | 8ms | 17708kb | OK | 5 |
✓ | 4 | 8ms | 17712kb | OK | 5 |
✓ | 5 | 84ms | 19880kb | OK | 5 | 20 |
✓ | 6 | 84ms | 19884kb | OK | 5 |
✓ | 7 | 84ms | 19888kb | OK | 5 |
✓ | 8 | 84ms | 19880kb | OK | 5 |
✓ | 9 | 112ms | 19880kb | OK | 5 | 20 |
✓ | 10 | 116ms | 19880kb | OK | 5 |
✓ | 11 | 112ms | 19884kb | OK | 5 |
✓ | 12 | 112ms | 19880kb | OK | 5 |
✗ | 13 | 416ms | 19880kb | OK | 5 | 20 |
✗ | 14 | 416ms | 19880kb | OK | 5 |
✗ | 15 | 420ms | 19884kb | OK | 5 |
✓ | 16 | 420ms | 19880kb | OK | 5 |
✓ | 17 | 792ms | 20536kb | OK | 5 | 20 |
✗ | 18 | 788ms | 20536kb | OK | 5 |
✗ | 19 | 792ms | 20536kb | OK | 5 |
✗ | 20 | 784ms | 20536kb | OK | 5 |
Punctaj total | 100 |