Borderou de evaluare (job #3369608)

Utilizator frncuFrincu Stefan frncu Data 21 octombrie 2026 10:52:32
Problema Functii Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:15:64: error: invalid operands of types '__gnu_cxx::__promote<double>::__type' {aka 'double'} and 'int' to binary 'operator%' 15 | g<<((fact(s)%30103/fact(n-s)%30103)/fact(s)%30103)*(pow(2,s)-2)%30103; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | | | int | __gnu_cxx::__promote<double>::__type {aka double} Non zero exit status: 1

Ceva nu functioneaza?