Borderou de evaluare (job #3132888)

Utilizator MaleticiMiroslavMaletici Miroslav MaleticiMiroslav Data 24 mai 2023 10:31:40
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator c-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:46:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 46 | fscanf(fin, "%d", &N); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:47:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 47 | fscanf(fin, "%d", &P); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:48:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 48 | fprintf(fout, "%d", putere(N, P)); | ~^ ~~~~~~~~~~~~ | | | | int long long int | %lld
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
30ms303kbIncorect0
40ms303kbIncorect0
50ms303kbIncorect0
60ms303kbIncorect0
70ms303kbIncorect0
80ms303kbOK10
90ms303kbIncorect0
100ms303kbIncorect0
Punctaj total10

Ceva nu functioneaza?