Borderou de evaluare (job #2979999)

Utilizator RaduIC12Ciocirlan Radu-Ioan RaduIC12 Data 16 februarie 2023 09:49:17
Problema Al k-lea termen Fibonacci Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:13:53: error: invalid operands of types 'double' and 'int' to binary 'operator%' 13 | cout<<( pow(((1+c)/2), n) - pow(((1-c)/2), n))/c%666013; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | | | int | double Non zero exit status: 1

Ceva nu functioneaza?