#include <iostream>
int main() {
unsigned char pc[4] = {'t','e','s','t'};
std::cout << std::string(&pc[0], &pc[3]) << std::endl;
std::cout << std::string(&pc[0], &pc[4]) << std::endl;
std::string s("abc");
std::cout << std::string(s.begin(), s.end()) << std::endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1haW4oKSB7Cgl1bnNpZ25lZCBjaGFyIHBjWzRdID0geyd0JywnZScsJ3MnLCd0J307CgkKCXN0ZDo6Y291dCA8PCBzdGQ6OnN0cmluZygmcGNbMF0sICZwY1szXSkgPDwgc3RkOjplbmRsOwoJc3RkOjpjb3V0IDw8IHN0ZDo6c3RyaW5nKCZwY1swXSwgJnBjWzRdKSA8PCBzdGQ6OmVuZGw7CgkKCXN0ZDo6c3RyaW5nIHMoImFiYyIpOwoJCglzdGQ6OmNvdXQgPDwgc3RkOjpzdHJpbmcocy5iZWdpbigpLCBzLmVuZCgpKSA8PCBzdGQ6OmVuZGw7CgkKCXJldHVybiAwOwp9