Pagini recente » Borderou de evaluare (job #486091) | Borderou de evaluare (job #3245220) | Borderou de evaluare (job #1058786) | Borderou de evaluare (job #2153880) | Borderou de evaluare (job #1564977)
Borderou de evaluare (job #1564977)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:141:5: warning: format ‘%li’ expects argument of type ‘long int *’, but argument 3 has type ‘short int *’ [-Wformat=]
fscanf(f,"%li",&A);
^
user.c:142:5: warning: format ‘%li’ expects argument of type ‘long int *’, but argument 3 has type ‘short int *’ [-Wformat=]
fscanf(f,"%li",&B);
^
user.c:145:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘short int *’ [-Wformat=]
fscanf(f,"%d",&power[i]);
^
user.c:175:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(f,"%d",sol);
^
user.c: In function ‘citire’:
user.c:49:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,100,f);
^
user.c:73:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,32767,f);
^
user.c: In function ‘main’:
user.c:139:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%li",&N);
^
user.c:141:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%li",&A);
^
user.c:142:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%li",&B);
^
user.c:145:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&power[i]);
^
user.c: In function ‘citire’:
user.c:93:9: warning: attempt to free a non-heap object ‘s’ [-Wfree-nonheap-object]
free(s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 0ms | 276kb | OK | 10 |
6 | 4ms | 284kb | OK | 10 |
7 | 12ms | 292kb | OK | 10 |
8 | 24ms | 328kb | OK | 10 |
9 | 44ms | 380kb | OK | 10 |
10 | Depăşit | 452kb | Time limit exceeded. | 0 |
Punctaj total | 90 |