HDU 2081: 手机短号

时间:2017-08-09 09:20:13   收藏:0   阅读:165

手机短号


///@author Sycamore
///@date 8/9/2017
#include<bits/stdc++.h>
using namespace std;
int main()
{
	ios::sync_with_stdio(false);
	cin.tie(0);
	int n;
	cin >> n;
	while (n--)
	{
		string s;
		cin >> s;
		cout << ‘6‘;
		for (int i = 6; i < 11; i++)cout << s[i];
		cout << ‘\n‘;
	}
	return 0;
}

 

原文:http://www.cnblogs.com/zjnu/p/7323407.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!