Pagini recente » Borderou de evaluare (job #1738730) | Borderou de evaluare (job #1315311) | Borderou de evaluare (job #1356340) | Borderou de evaluare (job #1445790) | Borderou de evaluare (job #1445814)
Borderou de evaluare (job #1445814)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:19:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.c:36:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(f,"%d",&v[i]);
^
user.c:141:13: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",x);
^
user.c:142:13: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d\n",x);
^
user.c:145:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ",sol[i]);
^
user.c:146:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d ",sol[i]);
^
user.c:15:28: warning: unused variable ‘aux’ [-Wunused-variable]
long *v,n,i,*sol,*ap,j,aux,k,nr_z=0,nr;
^
user.c:19:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.c:36:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&v[i]);
^
user.c:78:13: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ap[v[k]]--;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK! | 5 |
| 2 | 4ms | 380kb | OK! | 5 |
| 3 | 4ms | 364kb | Wrong answer! | 0 |
| 4 | 0ms | 276kb | Wrong answer! | 0 |
| 5 | 4ms | 384kb | OK! | 5 |
| 6 | 4ms | 344kb | OK! | 5 |
| 7 | 4ms | 356kb | OK! | 5 |
| 8 | 4ms | 356kb | Wrong answer! | 0 |
| 9 | 4ms | 388kb | OK! | 5 |
| 10 | 12ms | 480kb | OK! | 5 |
| 11 | 0ms | 376kb | OK! | 5 |
| 12 | 12ms | 3888kb | OK! | 5 |
| 13 | 12ms | 1116kb | OK! | 5 |
| 14 | 24ms | 6628kb | OK! | 5 |
| 15 | 32ms | 7036kb | OK! | 5 |
| 16 | 36ms | 7124kb | Wrong answer! | 0 |
| 17 | 36ms | 7564kb | Wrong answer! | 0 |
| 18 | 36ms | 7356kb | Wrong answer! | 0 |
| 19 | 36ms | 7540kb | OK! | 5 |
| 20 | 36ms | 7100kb | Wrong answer! | 0 |
| Punctaj total | 65 |