Borderou de evaluare (job #2578713)
Utilizator | Data | 11 martie 2020 14:41:25 | |
---|---|---|---|
Problema | Nmult | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:1: error: 'ifstream' does not name a type
ifstream in("nmult.in");
^~~~~~~~
main.cpp:6:1: error: 'ofstream' does not name a type
ofstream out("nmult.out");
^~~~~~~~
main.cpp:9:1: error: 'vector' does not name a type
vector<int>Fact;
^~~~~~
main.cpp: In function 'int c(int, int)':
main.cpp:29:13: error: 'Fact' was not declared in this scope
int ans = Fact[n];
^~~~
main.cpp: In function 'int main()':
main.cpp:37:3: error: 'in' was not declared in this scope
in >> n >> k >> x;
^~
main.cpp:38:3: error: 'Fact' was not declared in this scope
Fact.resize(n + 1);
^~~~
main.cpp:45:5: error: 'out' was not declared in this scope
out << 0;
^~~
main.cpp:52:5: error: 'out' was not declared in this scope
out << 0;
^~~
main.cpp:60:3: error: 'out' was not declared in this scope
out << c(n + k - 1, n - 1);
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !