aaaa
来源:互联网 发布:腾讯微云for mac 编辑:程序博客网 时间:2024/05/17 06:26
#include <iostream>
#include <set>
using namespace std;
set<int>s;
bool f(set<int> mys,int num)
{
int temp=num;
while(temp>0)
{
if(s.count(temp%10))
{
return false;
}
mys.insert(temp%10);
temp/=10;
}
return true;
}
int main()
{
int t;
while(cin>>t&&t)
{
f(s,t);
for(int i=2;i<t;i++)
#include <set>
using namespace std;
set<int>s;
bool f(set<int> mys,int num)
{
int temp=num;
while(temp>0)
{
if(s.count(temp%10))
{
return false;
}
mys.insert(temp%10);
temp/=10;
}
return true;
}
int main()
{
int t;
while(cin>>t&&t)
{
f(s,t);
for(int i=2;i<t;i++)
- aaaa
- aaaa
- aaaa
- AAAA
- aaaa
- aaaa
- aaaa
- aaaa
- AAAA
- aaaa
- aaaa
- aaaa
- AAAA
- aaaa
- aaaa
- aaaa .
- aaaa
- aaaa
- Windows XP SP3 安装 SQLServer 2000
- 发现Oracle11.2.0.1关于NLS_LENGTH_SEMANTICS的一个Bug
- 谈谈设计模式的认识
- [总结]对JFace的一点总结
- Flex与服务器端通信
- aaaa
- js function入门
- MATALB中信号的阈值去噪
- CreateEvent用法
- 编写自动备份bat脚本
- [Extjs]gridPanel中加img
- Flex4 拖拽功能
- hibernate Hql 总结
- 自动化复制脚本(.bat)