Код: Выделить всё
#include
using namespace std;
class Solution {
public:
string fun(string s) {
return //value;
}
};
int main(){
string s;
//get the value returned by the fun()
}
Подробнее здесь: https://stackoverflow.com/questions/775 ... n-function
Мобильная версия