Borderou de evaluare (job #713366)

Utilizator avatar AndreiEsteNebun Mateescu Andrei AndreiEsteNebun IP ascuns
Problemă Asort (baraj gimnaziu) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 29 mar. 2023 19:51:09 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:32:17: error: 'cout' was not declared in this scope 32 | cout<<v[j]<<" "; | ^~~~ main.cpp:2:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? 1 | #include <fstream> +++ |+#include <iostream> 2 | main.cpp:34:13: error: 'cout' was not declared in this scope 34 | cout<<'\n'; | ^~~~ main.cpp:34:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? main.cpp:36:9: error: 'cout' was not declared in this scope 36 | cout<<v[k]; | ^~~~ main.cpp:36:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? main.cpp:58:13: error: 'cout' was not declared in this scope 58 | cout<<n-1<<" "<<1; | ^~~~ main.cpp:58:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? main.cpp:60:13: error: 'cout' was not declared in this scope 60 | cout<<n<<" "<<2; | ^~~~ main.cpp:60:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? main.cpp:62:13: error: 'cout' was not declared in this scope 62 | cout<<v[t]-1<<" "<<v[t]+1; | ^~~~ main.cpp:62:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?