Borderou de evaluare (job #3323050)

Utilizator Cezar2009Cezar Mihai Titihazan Cezar2009 Data 16 noiembrie 2025 19:49:18
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:57:21: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int64_t*' {aka 'long int*'} [-Wformat=] 57 | fscanf(fin, "%lld %lld", &n, &p); | ~~~^ ~~ | | | | | int64_t* {aka long int*} | long long int* | %ld main.cpp:57:26: warning: format '%lld' expects argument of type 'long long int*', but argument 4 has type 'int64_t*' {aka 'long int*'} [-Wformat=] 57 | fscanf(fin, "%lld %lld", &n, &p); | ~~~^ ~~ | | | | | int64_t* {aka long int*} | long long int* | %ld main.cpp:59:23: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] 59 | fprintf(fout, "%lld", power_of_manyyy(n, p, MOD)); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long long int int64_t {aka long int} | %ld
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
40ms303kbOK10
50ms303kbOK10
60ms303kbOK10
70ms303kbOK10
80ms303kbOK10
90ms303kbOK10
100ms303kbOK10
Punctaj total100

Ceva nu functioneaza?