Borderou de evaluare (job #620031)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bile 2 (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 7 dec. 2021 19:43:22 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:53:5: error: 'cout' was not declared in this scope
53 | cout<<s;
| ^~~~
main.cpp:4:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
3 | #include <stack>
+++ |+#include <iostream>
4 | #include <vector>
main.cpp:21:15: warning: unused variable 'I' [-Wunused-variable]
21 | int n,x,k,I=0;
| ^