Borderou de evaluare (job #2628038)
Utilizator | Data | 14 iunie 2020 09:47:52 | |
---|---|---|---|
Problema | Fractii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int fact(int)':
main.cpp:11:16: error: no match for call to '(std::ifstream {aka std::basic_ifstream<char>}) (int)'
return N*f(N-1);
^
main.cpp: In function 'int main()':
main.cpp:17:19: error: 'sqrt' was not declared in this scope
for(i=2;i<=sqrt(N);i++)
^
main.cpp:22:2: error: 'total' was not declared in this scope
total=fact(N)/fact(N-2)+div;
^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !