Borderou de evaluare (job #720757)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Combinări (clasa a 7-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 22 mai 2023 12:12:47 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void combinatie(int, int)':
main.cpp:25:13: error: 'cout' was not declared in this scope
25 | cout << v[i] << " ";
| ^~~~
main.cpp:10:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
9 | #include <fstream>
+++ |+#include <iostream>
10 |
main.cpp:27:9: error: 'cout' was not declared in this scope
27 | cout << "\n";
| ^~~~
main.cpp:27:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?