Borderou de evaluare (job #1528068)
Utilizator | Alexandru-Gabriel Ghergut alexandru.ghergut | Data | 18 noiembrie 2015 23:38:37 |
---|---|---|---|
Problema | Dtcsu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:5: error: ‘unordered_set’ was not declared in this scope
unordered_set<long long> h;
^
user.cpp:9:19: error: expected primary-expression before ‘long’
unordered_set<long long> h;
^
user.cpp:9:19: error: expected ‘;’ before ‘long’
user.cpp:10:15: error: variable ‘std::ifstream f’ has initializer but incomplete type
ifstream f("dtcsu.in");
^
user.cpp:11:10: error: ‘i’ was not declared in this scope
for (i = 0; i < entries; i++)
^
user.cpp:15:13: error: ‘h’ was not declared in this scope
h.insert(N);
^
user.cpp:19:10: error: ‘i’ was not declared in this scope
for (i = 0; i < Q; i++)
^
user.cpp:22:18: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while (N & 1 == 0)
^
user.cpp:24:13: error: ‘h’ was not declared in this scope
if (h.find(N) != h.end())
^
user.cpp:29:15: error: variable ‘std::ofstream g’ has initializer but incomplete type
ofstream g("dtcsu.out");
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !