#include <iostream>
using namespace std;
int main() {
string s;
cin>>s;
int cnt=0;
for(auto it:s)
{
cnt++;
cout<<it;
if(cnt%8==0) cout<<"\n";
}
cnt%=8;
if(cnt)
for(int i=cnt+1; i<=8; i++) cout<<"0";
return 0;
}
// 64 位输出请用 printf("%lld")
字符串输入后输出,用cnt统计,最后模拟输出0(注意控制cnt%=8后是否还有值

京公网安备 11010502036488号