Pagini recente » Borderou de evaluare (job #62679) | Borderou de evaluare (job #185006) | Borderou de evaluare (job #503729) | Borderou de evaluare (job #770571) | Borderou de evaluare (job #2235122)
Borderou de evaluare (job #2235122)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:192: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: In function ‘void Readstr(char*)’:
user.cpp:78:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
pos=0,fread(f,1,MAX,IN);
^
user.cpp:84:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
pos=0,fread(f,1,MAX,IN);
^
user.cpp: In function ‘void Read(int&)’:
user.cpp:62:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
pos=0,fread(f,1,MAX,IN);
^
user.cpp:68:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
pos=0,fread(f,1,MAX,IN);
^
user.cpp: In function ‘int main()’:
user.cpp:108: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:132:27: note: ‘last’ was declared here
int lw=p,hi=N,mid,last;
^~~~
user.cpp:110: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:132:27: note: ‘last’ was declared here
int lw=p,hi=N,mid,last;
^~~~
user.cpp:108: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:132:27: note: ‘last’ was declared here
int lw=p,hi=N,mid,last;
^~~~
user.cpp:110: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:132:27: note: ‘last’ was declared here
int lw=p,hi=N,mid,last;
^~~~
user.cpp:108: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:132:27: note: ‘last’ was declared here
int lw=p,hi=N,mid,last;
^~~~
user.cpp:110:85: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 8ms | 11504kb | OK | 5 | 20 |
✓ | 2 | 8ms | 11504kb | OK | 5 |
✓ | 3 | 4ms | 11500kb | OK | 5 |
✓ | 4 | 8ms | 11504kb | OK | 5 |
✓ | 5 | 120ms | 13668kb | OK | 5 | 20 |
✓ | 6 | 120ms | 13672kb | OK | 5 |
✓ | 7 | 120ms | 13672kb | OK | 5 |
✓ | 8 | 120ms | 13668kb | OK | 5 |
✓ | 9 | 152ms | 13668kb | OK | 5 | 20 |
✓ | 10 | 152ms | 13668kb | OK | 5 |
✓ | 11 | 152ms | 13668kb | OK | 5 |
✓ | 12 | 148ms | 13672kb | OK | 5 |
✗ | 13 | 576ms | 13668kb | OK | 5 | 20 |
✗ | 14 | 576ms | 13668kb | OK | 5 |
✗ | 15 | 580ms | 13672kb | OK | 5 |
✓ | 16 | 580ms | 13668kb | OK | 5 |
✓ | 17 | 992ms | 14316kb | Incorect | 0 | 0 |
✗ | 18 | 984ms | 14320kb | Incorect | 0 |
✗ | 19 | 988ms | 14320kb | Incorect | 0 |
✗ | 20 | 976ms | 14316kb | Incorect | 0 |
Punctaj total | 80 |