Pagini recente » Borderou de evaluare (job #3286685) | Borderou de evaluare (job #237275) | Borderou de evaluare (job #3269887) | Borderou de evaluare (job #2462563) | Borderou de evaluare (job #2234225)
Borderou de evaluare (job #2234225)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:261:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout,"%I64d\n",res);
^
user.cpp:129:37: warning: unused variable ‘m’ [-Wunused-variable]
int i,f,st,dr,mid,pL,pR,kth,a,b,m;
^
user.cpp: In function ‘void Read(int&)’:
user.cpp:38: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:42: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 ‘void Input()’:
user.cpp:85:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d\n",&N,&Q);
^
user.cpp:86: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 main()’:
user.cpp:150:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d",&L,&R);
^
user.cpp: In function ‘int sgn(int)’:
user.cpp:116:20: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(2 * pos > a + b){
~~^~~
user.cpp:117:12: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
l1 = a;
~~~^~~
user.cpp: In function ‘int main()’:
user.cpp:212:71: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized]
res = min(res, (sum1[R] - sum1[L-1]) - (sum0[L-1] - sum0[a-1]));
~^~
user.cpp:179:8: warning: ‘pR’ may be used uninitialized in this function [-Wmaybe-uninitialized]
l2 = pR; r2 = N;
~~~^~~~
user.cpp:178:16: warning: ‘pL’ may be used uninitialized in this function [-Wmaybe-uninitialized]
l1 = 1; r1 = pL;
~~~^~~~
user.cpp:233:15: warning: ‘f’ may be used uninitialized in this function [-Wmaybe-uninitialized]
f = one[f];
~~^~~~~~~~
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 8ms | 17708kb | Incorect | 0 | 0 |
✓ | 2 | 8ms | 17712kb | Incorect | 0 |
✓ | 3 | 8ms | 17708kb | Incorect | 0 |
✓ | 4 | 8ms | 17712kb | Incorect | 0 |
✓ | 5 | 60ms | 19756kb | Incorect | 0 | 0 |
✓ | 6 | 60ms | 19756kb | Incorect | 0 |
✓ | 7 | 60ms | 19760kb | Incorect | 0 |
✓ | 8 | 60ms | 19760kb | Incorect | 0 |
✓ | 9 | 68ms | 19756kb | Incorect | 0 | 0 |
✓ | 10 | 68ms | 19760kb | Incorect | 0 |
✓ | 11 | 68ms | 19756kb | Incorect | 0 |
✓ | 12 | 68ms | 19760kb | Incorect | 0 |
✗ | 13 | 232ms | 19760kb | Incorect | 0 | 0 |
✗ | 14 | 228ms | 19756kb | Incorect | 0 |
✗ | 15 | 232ms | 19756kb | Incorect | 0 |
✓ | 16 | 232ms | 19760kb | Incorect | 0 |
✓ | 17 | 312ms | 20804kb | Incorect | 0 | 0 |
✗ | 18 | 312ms | 20808kb | Incorect | 0 |
✗ | 19 | 312ms | 20808kb | Incorect | 0 |
✗ | 20 | 312ms | 20808kb | Incorect | 0 |
Punctaj total | 0 |