Masyvo Užklausos 1
- [1] 2019-04-13 12:14 (66.7)
- [2] 2019-04-13 12:24 (0)
- [3] 2019-04-13 12:26 (0)
- [4] 2019-04-13 12:30 (0)
- [5] 2019-04-13 14:14 (0)
- [6] 2019-04-13 14:14 (33.3)
- [7] 2019-04-13 14:15 (96.7)
- [8] 2019-04-13 14:16 (100)
Taškai: 0
Compile: FAIL
masyvo_uzklausos123.cpp: In function ‘std::set<int> merge(std::set<int>, std::set<int>)’: masyvo_uzklausos123.cpp:36:18: error: could not convert ‘a.std::set<_Key, _Compare, _Alloc>::begin<int, std::less<int>, std::allocator<int> >()’ from ‘std::set<int>::iterator {aka std::_Rb_tree_const_iterator<int>}’ to ‘std::set<int>’ merge(a.begin(), a.end(), ^ masyvo_uzklausos123.cpp: In function ‘void build(int)’: masyvo_uzklausos123.cpp:66:42: error: could not convert ‘medis[index].virsune::skaiciai.std::set<_Key, _Compare, _Alloc>::begin<int, std::less<int>, std::allocator<int> >()’ from ‘std::set<int>::iterator {aka std::_Rb_tree_const_iterator<int>}’ to ‘std::set<int>’ merge(medis[index].skaiciai.begin(), medis[index].skaiciai.end(), ^
nr. | result | time | message |
---|