Borderou de evaluare (job #1566572)

Utilizator bragaRObragaRO bragaRO Data 12 ianuarie 2016 12:37:08
Problema K1 Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:118:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] if(first[1] && first[1]->right==NULL) {fprintf(g,"%d",first[1]->value);return -1;} ^ user.c:105:11: warning: variable ‘a’ set but not used [-Wunused-but-set-variable] int n,a,x,*v; ^ user.c:110:30: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] for(i=0;i<n;i++) { fscanf(f,"%d",&x); fgetc(f); v[i]=x; } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbIncorect0
20ms268kbOK10
30ms268kbIncorect0
48ms624kbIncorect0
588ms3784kbIncorect0
6Depăşit4944kbTime limit exceeded.0
7Depăşit13660kbTime limit exceeded.0
8Depăşit5524kbTime limit exceeded.0
9Depăşit5140kbTime limit exceeded.0
100ms260kbOK10
Punctaj total20

Ceva nu functioneaza?