Pagini recente » Borderou de evaluare (job #1933237) | Borderou de evaluare (job #2027619) | Borderou de evaluare (job #3236219) | Borderou de evaluare (job #2801335) | Borderou de evaluare (job #2235125)
Borderou de evaluare (job #2235125)
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 | 8ms | 11504kb | OK | 5 |
✓ | 4 | 8ms | 11504kb | OK | 5 |
✓ | 5 | 124ms | 13672kb | OK | 5 | 20 |
✓ | 6 | 124ms | 13668kb | OK | 5 |
✓ | 7 | 124ms | 13668kb | OK | 5 |
✓ | 8 | 120ms | 13668kb | OK | 5 |
✓ | 9 | 152ms | 13668kb | OK | 5 | 20 |
✓ | 10 | 152ms | 13668kb | OK | 5 |
✓ | 11 | 152ms | 13668kb | OK | 5 |
✓ | 12 | 152ms | 13668kb | OK | 5 |
✗ | 13 | 584ms | 13676kb | OK | 5 | 20 |
✗ | 14 | 584ms | 13672kb | OK | 5 |
✗ | 15 | 588ms | 13668kb | OK | 5 |
✓ | 16 | 592ms | 13672kb | OK | 5 |
✓ | 17 | Depăşit | 14320kb | Time limit exceeded. | 0 | 0 |
✗ | 18 | Depăşit | 14320kb | Time limit exceeded. | 0 |
✗ | 19 | Depăşit | 14324kb | Time limit exceeded. | 0 |
✗ | 20 | 1000ms | 14316kb | OK | 5 |
Punctaj total | 80 |