OJ简单题
hondely
这个作者很懒,什么都没留下…
展开
-
hdu 3346
<br />水题,太简单了,就是写代码,想都不用想Problem DescriptionTo Chinese people, 8 is a lucky number. Now your task is to judge if a number is lucky.<br />We say a number is lucky if it’s a multiple of 8, or the sum of digits that make up the number is a multiple of 8, or t原创 2010-07-17 09:37:00 · 1261 阅读 · 0 评论 -
hdu 1720
Problem DescriptionMany classmates said to me that A+B is must needs.<br />If you can’t AC this problem, you would invite me for night meal. ^_^<br /> <br /> InputInput may contain multiple test cases. Each case contains A and B in one line.<br />A, B are原创 2010-07-17 09:40:00 · 1353 阅读 · 0 评论 -
hdu 2099
<br />source code:<br />#include<iostream><br />using namespace std;<br />int main()<br />{<br /> int a,b;<br /> int k;<br /> while(cin>>a>>b,a,b)<br /> {<br /> k=0;<br /> for(int i=0;i<100;i++)<br /> { <br /> if((a*100+i原创 2010-08-06 17:26:00 · 1022 阅读 · 0 评论 -
B:小小度刷礼品
提交提交记录时间限制: 1000ms内存限制: 65536kB描述一年一度的百度之星又开始了,这次参赛人数创下了吉尼斯世界纪录,于是百度之星决定奖励一部分人:所有资格赛提交ID以x结尾的参赛选手将得到精美礼品一份。小小度同学非常想得到这份礼品,于是他就连续狂交了很多次,提交ID从a连续到b,他想问问你他能得到多少份礼品,你能帮帮他吗?输入第一行一个正整数T表示数据组原创 2012-06-02 11:00:19 · 1873 阅读 · 0 评论