Borderou de evaluare (job #3195281)
Utilizator | Data | 20 ianuarie 2024 12:58:32 | |
---|---|---|---|
Problema | Expozitie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:299:1: error: deduced class type 'bignr' in function return type
299 | bignr comb(int n, int k)
| ^~~~~
main.cpp:5:8: note: 'template<unsigned int NGR, class U, unsigned int GR> struct bignr' declared here
5 | struct bignr {
| ^~~~~
main.cpp:307:1: error: deduced class type 'bignr' in function return type
307 | bignr stars_bars(int n, int k)
| ^~~~~
main.cpp:5:8: note: 'template<unsigned int NGR, class U, unsigned int GR> struct bignr' declared here
5 | struct bignr {
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:322:13: error: 'stars_bars' was not declared in this scope
322 | cout << stars_bars(n - k * d, d);
| ^~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !