Borderou de evaluare (job #3129574)

Utilizator raluca_rRadu Raluca raluca_r Data 14 mai 2023 22:15:49
Problema Heapuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:11:5: error: 'set' was not declared in this scope 11 | set<long long> s; | ^~~ main.cpp:4:1: note: 'std::set' is defined in header '<set>'; did you forget to '#include <set>'? 3 | #include <vector> +++ |+#include <set> 4 | using namespace std; main.cpp:11:9: error: expected primary-expression before 'long' 11 | set<long long> s; | ^~~~ main.cpp:18:13: error: 's' was not declared in this scope 18 | s.insert(x); | ^ main.cpp:22:13: error: 's' was not declared in this scope 22 | s.erase(v[x-1]); | ^ main.cpp:25:19: error: 's' was not declared in this scope 25 | fout<<s.begin()<<endl; | ^ Non zero exit status: 1

Ceva nu functioneaza?