Borderou de evaluare (job #1908313)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:116:41: warning: operation on ‘M’ may be undefined [-Wsequence-point]
timp[++M] = timp[M-1] + when;
^
user.cpp: In function ‘void Read(int&)’:
user.cpp:56:47: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++poz==DIM) fread(buff,1,DIM,fin),poz=0;
^
user.cpp:60:51: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++poz==DIM) fread(buff,1,DIM,fin),poz=0;
^
user.cpp: In function ‘int main()’:
user.cpp:75:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&N);
^
user.cpp:76:51: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= N; ++i) fscanf(fin,"%d",&v[i]);
^
user.cpp:128:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&Q);
^
user.cpp:73:15: warning: ‘f’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int i,j,k,f,nr,ok,Q,S,T,st,dr,mid,K,C,when,res,M=1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 296kb | OK | 10 |
| 2 | 8ms | 304kb | OK | 10 |
| 3 | 12ms | 312kb | OK | 10 |
| 4 | 32ms | 324kb | OK | 10 |
| 5 | 36ms | 352kb | OK | 10 |
| 6 | 48ms | 360kb | OK | 10 |
| 7 | 52ms | 400kb | OK | 10 |
| 8 | 64ms | 400kb | OK | 10 |
| 9 | 68ms | 412kb | OK | 10 |
| 10 | 0ms | 288kb | OK | 10 |
| Punctaj total | 100 |