Borderou de evaluare (job #3358237)

Utilizator gratian-stefan.tothToth Gratian-Stefan gratian-stefan.toth Data 15 iunie 2026 18:14:00
Problema Jap2 Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.c: In function 'comb': main.c:36:35: error: expected ';' before 'long' 36 | if (k == 0 || k == n) return 1 | ^ | ; 37 | long long num = fact[n]; | ~~~~ main.c:39:13: error: 'num' undeclared (first use in this function) 39 | return (num * den) % P; | ^~~ main.c:39:13: note: each undeclared identifier is reported only once for each function it appears in main.c:40:1: warning: control reaches end of non-void function [-Wreturn-type] 40 | } | ^ Non zero exit status: 1

Ceva nu functioneaza?