#include <iostream> #include <string> using namespace std; int main() { string str; getline(cin, str); int size = str.size(); if (str.size() < 8) { for (int i = 0; i < 8 - size; i++) { str.push_back('0'); } cout << str << endl; } else { int ans = 0; int pns = 8; while (str.size() >= 8) { string st = str.substr(ans, pns); cout << st << endl; str.erase(ans, pns); } int size2 = str.size(); if (size2 != 0) { for (int i = 0; i < (8 - size2); i++) { str.push_back('0'); } cout << str << endl; } } } // 64 位输出请用 printf("%lld")