Borderou de evaluare (job #2730638)

Utilizator chriss_b_001Cristian Benghe chriss_b_001 Data 26 martie 2021 17:00:50
Problema Jap2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'long long int comb(long long int, long long int, long long int)': main.cpp:56:25: error: 'Wilson' was not declared in this scope int fA = Wilson(A, P), ^ main.cpp:59:38: error: 'fB' was not declared in this scope return (long long)fA * inversmod(fB) % P * inversmod(fC) % P; ^~ main.cpp:59:58: error: 'fC' was not declared in this scope return (long long)fA * inversmod(fB) % P * inversmod(fC) % P; ^~ main.cpp: In function 'int Wilson(long long int, int)': main.cpp:82:16: error: 'p' was not declared in this scope return p - f; ^ main.cpp: In function 'int main()': main.cpp:95:26: error: call of overloaded 'comb(long long int&, long long int&, int&)' is ambiguous g << comb(A, B, P) << '\n'; ^ main.cpp:52:11: note: candidate: long long int comb(long long int, long long int, long long int) long long comb(long long A, long long B, long long P) ^~~~ main.cpp:62:5: note: candidate: int comb(int, int, int) int comb(int n, int m, int P) ^~~~ Non zero exit status: 1

Ceva nu functioneaza?