Borderou de evaluare (job #1632440)

Utilizator ipus1Stefan Enescu ipus1 Data 6 martie 2016 09:55:51
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4:1: error: ‘unordered_set’ does not name a type unordered_set<int> v; ^ user.cpp:5:1: error: ‘unordered_set’ does not name a type unordered_set<int>::iterator it; ^ user.cpp: In function ‘int main()’: user.cpp:14:9: error: ‘v’ was not declared in this scope v.insert(y); ^ user.cpp:17:14: error: ‘it’ was not declared in this scope {it=v.find(y); ^ user.cpp:17:17: error: ‘v’ was not declared in this scope {it=v.find(y); ^ user.cpp:22:14: error: ‘it’ was not declared in this scope {it=v.find(y); ^ user.cpp:22:17: error: ‘v’ was not declared in this scope {it=v.find(y); ^ user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] {freopen ("hashuri.in","r",stdin); ^ user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("hashuri.out","w",stdout); ^ user.cpp:10:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:12:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] {scanf("%d%d",&x,&y); ^

Ceva nu functioneaza?