- 博客(1)
- 收藏
- 关注
原创 POJ 3989 A hard Aoshu problem (模拟)
dfs,模拟判断即可。 注意 S1%S2==0 和0开头的情况。#include#include#include#include#include#include#define ll long longusing namespace std;bool use[10]; //每个数字是否用过(用于枚举过程的判断)ll n,num,ans;ll que[10];
2017-11-19 00:03:09
345
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人