Pagini recente » Borderou de evaluare (job #162037) | Borderou de evaluare (job #1662872) | Borderou de evaluare (job #344216) | Borderou de evaluare (job #1689681) | Borderou de evaluare (job #1031755)
Borderou de evaluare (job #1031755)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1000]’ [-Wformat=]
if (i>10000) fscanf(f,"%s",&a);
^
user.cpp:21:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&x);
^
user.cpp:28:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&q);
^
user.cpp:31:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&x);
^
user.cpp:42:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d",rez);
^
user.cpp:10:7: warning: unused variable ‘n’ [-Wunused-variable]
long n,q,i,x,rez=0,sf=0,c,nr,poz,j,ok;
^
user.cpp:10:26: warning: unused variable ‘c’ [-Wunused-variable]
long n,q,i,x,rez=0,sf=0,c,nr,poz,j,ok;
^
user.cpp:10:28: warning: variable ‘nr’ set but not used [-Wunused-but-set-variable]
long n,q,i,x,rez=0,sf=0,c,nr,poz,j,ok;
^
user.cpp:10:35: warning: unused variable ‘j’ [-Wunused-variable]
long n,q,i,x,rez=0,sf=0,c,nr,poz,j,ok;
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 4ms | 416kb | Incorect | 0 |
✓ | 2 | 4ms | 408kb | Incorect | 0 |
✓ | 3 | 4ms | 412kb | Incorect | 0 |
✓ | 4 | 4ms | 412kb | Incorect | 0 |
✓ | 5 | 4ms | 416kb | Incorect | 0 |
Punctaj total | 0 |