Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2234591)
| Utilizator | Data | 25 august 2018 20:22:51 | |
|---|---|---|---|
| Problema | Copii3 | Status | done |
| Runda | Algoritmiada 2018 Runda Maraton | Compilator | cpp | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘long long int Qnt(int)’:
user.cpp:23:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,a,st,dr,mid,b,kth;
^
user.cpp: In function ‘void Try()’:
user.cpp:66:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,pos,kth,f,st,dr,mid;
^
user.cpp:66:11: warning: unused variable ‘pos’ [-Wunused-variable]
int i,pos,kth,f,st,dr,mid;
^~~
user.cpp:67:11: warning: unused variable ‘dr0’ [-Wunused-variable]
int64 dr0,dr1;
^~~
user.cpp:67:15: warning: unused variable ‘dr1’ [-Wunused-variable]
int64 dr0,dr1;
^~~
user.cpp: In function ‘int main()’:
user.cpp:140:21: warning: unused variable ‘cnt’ [-Wunused-variable]
int i,st,dr,mid,cnt,nr0,nrr0,lim;
^~~
user.cpp: In function ‘void Read(int&)’:
user.cpp:93: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:97: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:143: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:144: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 ‘long long int Qnt(int)’:
user.cpp:61:31: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return st1 - st0 + (b > 0 ? dr0 - dr1 : 0);
~~~~~~~^~~~~~~~~~~~~~~~
user.cpp:52:31: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
st0 = sum_0[L-1] - sum_0[a-1];
~^~
user.cpp: In function ‘void Try()’:
user.cpp:80:27: warning: ‘f’ may be used uninitialized in this function [-Wmaybe-uninitialized]
res = min(res, sum_0[f] - sum_0[R] - (sum_1[R] - sum_1[L-1]));
~~~~~~~^
![]() | Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|---|
| ✓ | 1 | 4ms | 11584kb | OK | 5 | 20 |
| ✓ | 2 | 8ms | 11584kb | OK | 5 | |
| ✓ | 3 | 4ms | 11580kb | OK | 5 | |
| ✓ | 4 | 8ms | 11580kb | OK | 5 | |
| ✓ | 5 | 92ms | 11696kb | OK | 5 | 20 |
| ✓ | 6 | 92ms | 11696kb | OK | 5 | |
| ✓ | 7 | 92ms | 11692kb | OK | 5 | |
| ✓ | 8 | 92ms | 11692kb | OK | 5 | |
| ✓ | 9 | 120ms | 13740kb | OK | 5 | 20 |
| ✓ | 10 | 124ms | 13740kb | OK | 5 | |
| ✓ | 11 | 124ms | 13740kb | OK | 5 | |
| ✓ | 12 | 120ms | 13744kb | OK | 5 | |
| ✗ | 13 | 456ms | 13748kb | OK | 5 | 20 |
| ✗ | 14 | 456ms | 13740kb | OK | 5 | |
| ✗ | 15 | 460ms | 13744kb | OK | 5 | |
| ✓ | 16 | 456ms | 13740kb | OK | 5 | |
| ✓ | 17 | 760ms | 14232kb | OK | 5 | 20 |
| ✗ | 18 | 756ms | 14228kb | OK | 5 | |
| ✗ | 19 | 760ms | 14228kb | OK | 5 | |
| ✗ | 20 | 752ms | 14228kb | OK | 5 | |
| Punctaj total | 100 | |||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !

