Borderou de evaluare (job #1534401)

Utilizator Vbs96Vitelaru Sebastian Vbs96 Data 23 noiembrie 2015 18:28:36
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:9:2: warning: format ‘%ld’ expects argument of type ‘long int *’, but argument 3 has type ‘long long int *’ [-Wformat=] fscanf(f,"%ld%ld", &n, &p); ^ user.c:9:2: warning: format ‘%ld’ expects argument of type ‘long int *’, but argument 4 has type ‘long long int *’ [-Wformat=] user.c:27:2: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g, "%ld", (y*n) % m); ^ user.c:9:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld%ld", &n, &p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms276kbOK10
30ms276kbOK10
40ms272kbOK10
50ms268kbOK10
60ms276kbOK10
70ms272kbOK10
80ms272kbOK10
90ms272kbOK10
100ms268kbOK10
Punctaj total100

Ceva nu functioneaza?