Borderou de evaluare (job #2894853)
Utilizator | Data | 28 aprilie 2022 14:43:53 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:2: error: invalid preprocessing directive #includ; did you mean #include?
3 | #includ
| ^~~~~~
| include
main.cpp:4:1: error: 'e' does not name a type
4 | e <vector>
| ^
main.cpp:8:1: error: 'vector' does not name a type
8 | vector <int>h[66600];
| ^~~~~~
main.cpp: In function 'int main()':
main.cpp:11:6: error: 'ifstream' was not declared in this scope; did you mean 'std::ifstream'?
11 | { ifstream f("hashuri.in");
| ^~~~~~~~
| std::ifstream
In file included from /usr/include/c++/10/ios:38,
from /usr/include/c++/10/ostream:38,
from /usr/include/c++/10/iostream:39,
from main.cpp:1:
/usr/include/c++/10/iosfwd:162:34: note: 'std::ifstream' declared here
162 | typedef basic_ifstream<char> ifstream;
| ^~~~~~~~
main.cpp:12:6: error: 'ofstream' was not declared in this scope; did you mean 'std::ofstream'?
12 | ofstream g("hashuri.out");
| ^~~~~~~~
| std::ofstream
In file included from /usr/include/c++/10/ios:38,
from /usr/include/c++/10/ostream:38,
from /usr/include/c++/10/iostream:39,
from main.cpp:1:
/usr/include/c++/10/iosfwd:165:34: note: 'std::ofstream' declared here
165 | typedef basic_ofstream<char> ofstream;
| ^~~~~~~~
main.cpp:15:6: error: 'f' was not declared in this scope
15 | f>>n;
| ^
main.cpp:25:21: error: 'h' was not declared in this scope
25 | while(k<h[ct].size())
| ^
main.cpp:37:17: error: 'h' was not declared in this scope
37 | h[ct].push_back(elem);
| ^
main.cpp:48:21: error: 'h' was not declared in this scope
48 | while(k<h[ct].size())
| ^
main.cpp:53:21: error: 'swap' was not declared in this scope
53 | swap(h[ct][k],h[ct][h[ct].size()-1]);
| ^~~~
main.cpp:53:21: note: suggested alternatives:
In file included from main.cpp:2:
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !