Borderou de evaluare (job #3132779)

Utilizator cristina_ovidiuCristina Ovidiu Lucian cristina_ovidiu Data 23 mai 2023 21:27:31
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:22:15: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 2 has type 'uint64_t *' {aka 'long unsigned int *'} [-Wformat=] 22 | scanf("%llu %llu",&n,&p); | ~~~^ ~~ | | | | | uint64_t * {aka long unsigned int *} | long long unsigned int * | %lu main.c:22:20: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'uint64_t *' {aka 'long unsigned int *'} [-Wformat=] 22 | scanf("%llu %llu",&n,&p); | ~~~^ ~~ | | | | | uint64_t * {aka long unsigned int *} | long long unsigned int * | %lu main.c:23:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 23 | printf("%llu\n",pw(n,p) % 1999999973); | ~~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long unsigned int} | long long unsigned int | %lu
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
30ms303kbIncorect0
40ms303kbIncorect0
50ms303kbIncorect0
60ms303kbIncorect0
70ms303kbIncorect0
80ms303kbOK10
90ms303kbIncorect0
100ms303kbIncorect0
Punctaj total10

Ceva nu functioneaza?