Borderou de evaluare (job #2235099)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read(int&)’:
user.cpp:25: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:31: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 Readstr(char*)’:
user.cpp:41: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:47: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:156: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 ‘int getanc(int, int, int, int)’:
user.cpp:95:27: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int lw=p,hi=N,mid,last;
^~~~
user.cpp: In function ‘int solve(int)’:
user.cpp:95:27: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:118:18: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(x!=C)Query(Y+1,R,1,1);
~~~~~^~~~~~~~~~~
user.cpp:116:29: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(x!=0)Query(X,L-1,1,0);
^
![Feedback Feedback](/static/images/visible.png) | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 4ms | 7484kb | OK | 5 | 20 |
✓ | 2 | 4ms | 7484kb | OK | 5 |
✓ | 3 | 4ms | 7484kb | OK | 5 |
✓ | 4 | 4ms | 7480kb | OK | 5 |
✓ | 5 | 116ms | 7748kb | OK | 5 | 20 |
✓ | 6 | 116ms | 7748kb | OK | 5 |
✓ | 7 | 120ms | 7752kb | OK | 5 |
✓ | 8 | 112ms | 7752kb | OK | 5 |
✓ | 9 | 136ms | 7908kb | OK | 5 | 20 |
✓ | 10 | 140ms | 7904kb | OK | 5 |
✓ | 11 | 140ms | 7904kb | OK | 5 |
✓ | 12 | 136ms | 7908kb | OK | 5 |
✗ | 13 | 544ms | 7904kb | OK | 5 | 20 |
✗ | 14 | 548ms | 7908kb | OK | 5 |
✗ | 15 | 560ms | 7904kb | OK | 5 |
✓ | 16 | 544ms | 7904kb | OK | 5 |
✓ | 17 | 996ms | 9256kb | Incorect | 0 | 0 |
✗ | 18 | 996ms | 9252kb | Incorect | 0 |
✗ | 19 | 1000ms | 9252kb | Incorect | 0 |
✗ | 20 | 988ms | 9252kb | Incorect | 0 |
Punctaj total | 80 |