Код: Выделить всё
class Solution {
public:
string longestCommonPrefix(vector& vct) {
int z = vct[0].size() -1 ;
int len = vct.size();
int count = 0;
salto:
for (int i=0 ; i 0 ; i++) cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79040749/i-cant-edit-vector-element-in-a-leetcode-problem[/url]