RedreamMer:int a = 1e5; signed main() { freopen("in.in", "w", stdout); ios::sync_with_stdio(0); cin.tie(0), cout.tie(0); string s; for(int i = 1; i <= a; ++i) s.push_back('0'); s.push_back('1'); for(int i = 1; i <= a; ++i) s.push_back('0'); for(int i = 1; i <= a; ++i) s.push_back('9'); cout << s.size() << '\n' << s << '\n'; return 0; }
0 点赞 评论 收藏
分享
关注他的用户也关注了: