#include <iostream> #include <string> using namespace std; string cutString(string str, size_t length){ return str.substr(0,length); } int main() { string str; size_t length; cin >> str; cin >> length; cout << cutString(str,length) << endl; } // 64 位输...