![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
水题
haoli001
这个作者很懒,什么都没留下…
展开
-
HDU 1548 A strange lift
A strange liftTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11490 Accepted Submission(s): 4350Problem DescriptionThere is a原创 2014-08-04 13:24:51 · 354 阅读 · 0 评论 -
HDOJ2112
HDU TodayTime Limit: 15000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14492 Accepted Submission(s): 3399Problem Description经过锦囊相助,海东集团终于度原创 2014-08-02 20:59:50 · 372 阅读 · 0 评论 -
hdu4970
Killing MonstersTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 321 Accepted Submission(s): 190Problem DescriptionKingdom R原创 2014-08-19 20:15:51 · 286 阅读 · 0 评论 -
codeforces #262B
不能枚举所有x但是可以枚举所有的s因为s的范围从1到81;之后判断是否在1到1e9中间且每一位的和是否等于x#include #include #include using namespace std;long long summ(long long x){ long long ans=0; while(x){ ans+=x%10;原创 2014-08-21 11:01:59 · 413 阅读 · 0 评论 -
ACdreamoj1056(带权并查集)
Bad HorseTime Limit: 2000/1000MS (Java/Others)Memory Limit: 128000/64000KB (Java/Others)SubmitStatisticNext ProblemProblem DescriptionAs the leader of the Evil League of Evil, Bad Ho原创 2014-08-11 22:37:00 · 385 阅读 · 0 评论 -
hdoj 5056
利用已经可以利用已经计算出的cntshu zhu原创 2014-10-02 17:39:34 · 247 阅读 · 0 评论 -
poj3641
#include #include #include using namespace std;typedef long long ll;bool is_prime(ll a){ for(int i=2;i<=sqrt(a);i++){ if(a%i==0)return 0; } return 1;}ll q_mod(ll a,ll p,ll m){ ll ans=1;原创 2014-11-15 12:49:26 · 290 阅读 · 0 评论