Borderou de evaluare (job #1104507)

Utilizator vladradu2014Radu Vlad Alexandru vladradu2014 Data 10 februarie 2014 20:35:00
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:9:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(fp,"%d%d",&N,&P); ^ user.c:9:3: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=] user.c:23:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(fp,"%d",R); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbIncorect0
20ms236kbIncorect0
30ms232kbIncorect0
40ms232kbIncorect0
50ms232kbIncorect0
60ms232kbIncorect0
70ms236kbIncorect0
80ms236kbOK10
90ms236kbIncorect0
100ms232kbIncorect0
Punctaj total10

Ceva nu functioneaza?