Borderou de evaluare (job #3236065)

Utilizator AndreasAntoniuAntoniu Andreas AndreasAntoniu Data 25 iunie 2024 22:16:06
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:30:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int64_t *' {aka 'long int *'} [-Wformat=] 30 | fscanf(file, "%d", &n); | ~^ ~~ | | | | | int64_t * {aka long int *} | int * | %ld main.c:31:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int64_t *' {aka 'long int *'} [-Wformat=] 31 | fscanf(file, "%d", &p); | ~^ ~~ | | | | | int64_t * {aka long int *} | int * | %ld main.c:35:25: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat=] 35 | fprintf(fileout, "%ld", exp_log(n, p) % M); | ~~^ | | | long int | %lld
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
30ms303kbIncorect0
40ms303kbIncorect0
50ms303kbIncorect0
60ms303kbIncorect0
70ms303kbIncorect0
80ms303kbIncorect0
90ms303kbIncorect0
100ms303kbIncorect0
Punctaj total0

Ceva nu functioneaza?