Pagini recente » Borderou de evaluare (job #83144) | Borderou de evaluare (job #757431) | Borderou de evaluare (job #2594607) | Borderou de evaluare (job #2322449) | Borderou de evaluare (job #2234678)
Borderou de evaluare (job #2234678)
Raport evaluator
Compilare:
user.cpp: In function ‘int Check(int)’:
user.cpp:23:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,a,st,dr,mid,b,kth;
^
user.cpp: In function ‘long long int Qnt(int)’:
user.cpp:55:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,a,st,dr,mid,b,kth;
^
user.cpp: In function ‘void Try()’:
user.cpp:99:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,pos,kth,f,st,dr,mid;
^
user.cpp:99:11: warning: unused variable ‘pos’ [-Wunused-variable]
int i,pos,kth,f,st,dr,mid;
^~~
user.cpp:100:11: warning: unused variable ‘dr0’ [-Wunused-variable]
int64 dr0,dr1;
^~~
user.cpp:100:15: warning: unused variable ‘dr1’ [-Wunused-variable]
int64 dr0,dr1;
^~~
user.cpp: In function ‘int main()’:
user.cpp:173:21: warning: unused variable ‘cnt’ [-Wunused-variable]
int i,st,dr,mid,cnt,nr0,nrr0,lim,idx,idx2;
^~~
user.cpp:174:11: warning: unused variable ‘X’ [-Wunused-variable]
int64 X;
^
user.cpp: In function ‘void Read(int&)’:
user.cpp:126:56: 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:130:60: 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:176:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d",&N,&Q);
^
user.cpp:177:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%s",str);
^
user.cpp: In function ‘int Check(int)’:
user.cpp:49:26: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return 2 * pos - a - b;
^
user.cpp:49:20: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return 2 * pos - a - b;
~~~~~~~~^~~
user.cpp: In function ‘long long int Qnt(int)’:
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 4ms | 11584kb | OK | 5 | 20 |
✓ | 2 | 4ms | 11580kb | OK | 5 |
✓ | 3 | 4ms | 11584kb | OK | 5 |
✓ | 4 | 4ms | 11580kb | OK | 5 |
✓ | 5 | 64ms | 11688kb | OK | 5 | 20 |
✓ | 6 | 64ms | 11688kb | OK | 5 |
✓ | 7 | 64ms | 11692kb | OK | 5 |
✓ | 8 | 64ms | 11692kb | OK | 5 |
✓ | 9 | 80ms | 13740kb | OK | 5 | 20 |
✓ | 10 | 80ms | 13740kb | OK | 5 |
✓ | 11 | 80ms | 13740kb | OK | 5 |
✓ | 12 | 80ms | 13736kb | OK | 5 |
✗ | 13 | 296ms | 13740kb | OK | 5 | 20 |
✗ | 14 | 296ms | 13740kb | OK | 5 |
✗ | 15 | 300ms | 13736kb | OK | 5 |
✓ | 16 | 296ms | 13736kb | OK | 5 |
✓ | 17 | 488ms | 14224kb | OK | 5 | 20 |
✗ | 18 | 488ms | 14228kb | OK | 5 |
✗ | 19 | 488ms | 14224kb | OK | 5 |
✗ | 20 | 484ms | 14224kb | OK | 5 |
Punctaj total | 100 |