Borderou de evaluare (job #2272217)

Utilizator arosearose red arose Data 29 octombrie 2018 20:46:44
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator c-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:42:17: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'uint64_t * {aka long unsigned int *}' [-Wformat=] fscanf(inptr,"%d %d", &n, &a); ^ main.c:45:21: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] fprintf(outptr,"%lld", fast_exp(n,p)); ^ main.c:42:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(inptr,"%d %d", &n, &a); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms131kbOK10
42ms131kbOK10
52ms131kbOK10
62ms131kbOK10
72ms131kbOK10
82ms131kbOK10
92ms131kbOK10
102ms131kbOK10
Punctaj total100

Ceva nu functioneaza?