Borderou de evaluare (job #3182611)
Utilizator | Data | 9 decembrie 2023 11:01:30 | |
---|---|---|---|
Problema | Patrate2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:13:12: error: 'cin' was not declared in this scope
13 | int n; cin>>n;
| ^~~
main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 | using namespace std;
main.cpp:14:5: error: 'cout' was not declared in this scope
14 | cout<<fact(n)*(unsigned long long)(pow(2, n*n));
| ^~~~
main.cpp:14:5: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:14:40: error: 'pow' was not declared in this scope
14 | cout<<fact(n)*(unsigned long long)(pow(2, n*n));
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !