Borderou de evaluare (job #809606)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Permutări | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 17 feb. 2025 18:25:12 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void afis(int)':
main.cpp:13:9: error: 'cout' was not declared in this scope
13 | cout << a / put % 10 << " ";
| ^~~~
main.cpp:2:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
1 | #include <fstream>
+++ |+#include <iostream>
2 |
main.cpp:16:5: error: 'cout' was not declared in this scope
16 | cout << "\n";
| ^~~~
main.cpp:16:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
main.cpp: In function 'void perm(int, int)':
main.cpp:24:17: error: 'cin' was not declared in this scope
24 | cin >> a;
| ^~~
main.cpp:24:17: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'