Pagini recente » Borderou de evaluare (job #2109318) | Borderou de evaluare (job #1828480) | Borderou de evaluare (job #128886) | Borderou de evaluare (job #1826692) | Borderou de evaluare (job #2663972)
Borderou de evaluare (job #2663972)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:31:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp,"%d",&g);
^~~~~~~~~~~~~~~~~~
main.c:32:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp,"%f",&w);
^~~~~~~~~~~~~~~~~~
main.c:37:10: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp,"%lf %lf",&G_list[i].energie,&G_list[i].cost);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:26:11: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
int g,i;
^
main.c:56:7: warning: 'c_actual' may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fp,"%d",(int)c_actual);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:46:20: warning: 'e_actuala' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(e_actuala+G_list[i].energie<=e_maxima)
~~~~~~~~~^~~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Wrong answer! | 0 |
| 2 | 2ms | 131kb | Wrong answer! | 0 |
| 3 | 2ms | 131kb | Wrong answer! | 0 |
| 4 | 2ms | 131kb | Wrong answer! | 0 |
| 5 | 2ms | 131kb | Wrong answer! | 0 |
| 6 | 2ms | 131kb | Wrong answer! | 0 |
| 7 | 4ms | 131kb | Wrong answer! | 0 |
| 8 | 2ms | 131kb | Wrong answer! | 0 |
| 9 | 4ms | 131kb | Wrong answer! | 0 |
| 10 | 9ms | 131kb | Wrong answer! | 0 |
| 11 | 9ms | 131kb | Wrong answer! | 0 |
| 12 | 9ms | 131kb | Wrong answer! | 0 |
| 13 | 9ms | 131kb | Wrong answer! | 0 |
| 14 | 9ms | 131kb | Wrong answer! | 0 |
| 15 | 9ms | 131kb | Wrong answer! | 0 |
| 16 | 9ms | 131kb | Wrong answer! | 0 |
| 17 | 9ms | 131kb | Wrong answer! | 0 |
| 18 | 9ms | 131kb | Wrong answer! | 0 |
| 19 | 9ms | 131kb | Wrong answer! | 0 |
| 20 | 9ms | 131kb | Wrong answer! | 0 |
| Punctaj total | 0 |