Besmegeniai
- [1] 2020-02-17 17:30 (45.5)
- [2] 2020-02-17 17:31 (77.3)
- [3] 2020-02-17 17:31 (81.8)
- [4] 2020-02-17 17:33 (81.8)
- [5] 2020-02-17 17:34 (81.8)
- [6] 2020-02-17 17:35 (81.8)
- [7] 2020-02-17 17:36 (0)
- [8] 2020-02-17 17:36 (100)
Taškai: 0
Compile: FAIL
lmio_2012_3e2_besmegeniai_vyr.cpp: In function ‘int main(int, char**)’: lmio_2012_3e2_besmegeniai_vyr.cpp:39:9: error: no match for ‘operator=’ (operand types are ‘std::priority_queue<long long int>’ and ‘std::priority_queue<int>’) eilute = priority_queue <int>(); ^ In file included from /usr/include/c++/5/queue:64:0, from lmio_2012_3e2_besmegeniai_vyr.cpp:3: /usr/include/c++/5/bits/stl_queue.h:370:11: note: candidate: std::priority_queue<long long int>& std::priority_queue<long long int>::operator=(const std::priority_queue<long long int>&) class priority_queue ^ /usr/include/c++/5/bits/stl_queue.h:370:11: note: no known conversion for argument 1 from ‘std::priority_queue<int>’ to ‘const std::priority_queue<long long int>&’ /usr/include/c++/5/bits/stl_queue.h:370:11: note: candidate: std::priority_queue<long long int>& std::priority_queue<long long int>::operator=(std::priority_queue<long long int>&&) /usr/include/c++/5/bits/stl_queue.h:370:11: note: no known conversion for argument 1 from ‘std::priority_queue<int>’ to ‘std::priority_queue<long long int>&&’ lmio_2012_3e2_besmegeniai_vyr.cpp:43:12: error: ‘kita’ was not declared in this scope suma -= kita.top(); ^
nr. | result | time | message |
---|