Borderou de evaluare (job #2896252)
Utilizator | Data | 29 aprilie 2022 21:25:20 | |
---|---|---|---|
Problema | Muzica | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/10/backward/hash_set:60,
from main.cpp:3:
/usr/include/c++/10/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
32 | #warning \
| ^~~~~~~
main.cpp:10:1: error: 'hash_set' does not name a type
10 | hash_set<int> H;
| ^~~~~~~~
main.cpp:11:1: error: 'hash_set' does not name a type
11 | hash_set<int>::iterator it;
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:25:9: error: 'H' was not declared in this scope
25 | H.insert(x);
| ^
main.cpp:28:5: error: 'it' was not declared in this scope; did you mean 'i'?
28 | it = H.find(A);
| ^~
| i
main.cpp:28:10: error: 'H' was not declared in this scope
28 | it = H.find(A);
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !