Borderou de evaluare (job #2736269)
| Utilizator | Data | 3 aprilie 2021 12:19:00 | |
|---|---|---|---|
| Problema | Loto | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:6:25: error: 'vector' is not a member of 'std'
std::unordered_map<int, std::vector<int> > map;
^~~
main.cpp:6:25: error: 'vector' is not a member of 'std'
main.cpp:6:40: error: template argument 2 is invalid
std::unordered_map<int, std::vector<int> > map;
^
main.cpp:6:40: error: template argument 5 is invalid
main.cpp:6:42: error: expected unqualified-id before '>' token
std::unordered_map<int, std::vector<int> > map;
^
main.cpp: In function 'int main()':
main.cpp:25:21: error: 'map' was not declared in this scope
if (sum3 > S || map[sum3] != std::vector<int>())
^~~
main.cpp:25:34: error: 'vector' is not a member of 'std'
if (sum3 > S || map[sum3] != std::vector<int>())
^~~
main.cpp:25:46: error: expected primary-expression before 'int'
if (sum3 > S || map[sum3] != std::vector<int>())
^~~
main.cpp:25:46: error: expected ')' before 'int'
main.cpp:27:5: error: 'map' was not declared in this scope
map[sum3] = { i,j,k };
^~~
main.cpp:36:20: error: 'map' was not declared in this scope
if (s2 >= 0 && map[s2] != std::vector<int>())
^~~
main.cpp:36:31: error: 'vector' is not a member of 'std'
if (s2 >= 0 && map[s2] != std::vector<int>())
^~~
main.cpp:36:43: error: expected primary-expression before 'int'
if (s2 >= 0 && map[s2] != std::vector<int>())
^~~
main.cpp:36:43: error: expected ')' before 'int'
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
