Borderou de evaluare (job #1988893)
Utilizator | Data | 5 iunie 2017 04:16:43 | |
---|---|---|---|
Problema | Permutari | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void preFact(int)’:
user.cpp:134:50: error: no matching function for call to ‘BigInteger::multiply(BigInteger)’
F[n] = F[n - 1].multiply(BigInteger::valueOf(n));
^
user.cpp:134:50: note: candidate is:
user.cpp:62:13: note: BigInteger BigInteger::multiply(BigInteger&)
BigInteger multiply(BigInteger &bi) {
^
user.cpp:62:13: note: no known conversion for argument 1 from ‘BigInteger’ to ‘BigInteger&’
user.cpp: In function ‘BigInteger DP(int, int)’:
user.cpp:145:86: error: no matching function for call to ‘BigInteger::multiply(BigInteger)’
dp[i][j] = dp[i][j].add(dp[k][j - 1].multiply(C[i - 1][k].multiply(F[i - (k + 1)])));
^
user.cpp:145:86: note: candidate is:
user.cpp:62:13: note: BigInteger BigInteger::multiply(BigInteger&)
BigInteger multiply(BigInteger &bi) {
^
user.cpp:62:13: note: no known conversion for argument 1 from ‘BigInteger’ to ‘BigInteger&’
user.cpp: In function ‘int main()’:
user.cpp:159:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &K);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !