Код: Выделить всё
class Solution {
public:
string kthLargestNumber(vector& nums, int k) {
priority_queueq;
for(int i=0;i
Подробнее здесь: [url]https://stackoverflow.com/questions/75841135/why-cant-i-return-an-integer-from-a-function-declared-as-returning-string[/url]
Мобильная версия