枚举
JSK670072474
这个作者很懒,什么都没留下…
展开
-
hdu2008 数值统计 w
Description 统计给定的n个数中,负数、零和正数的个数。 Input 输入数据有多组,每组占一行,每行的第一个数是整数n(n<100),表示需要统计的数值的个数,然后是n个实数;如果n=0,则表示输入结束,该行不做...原创 2018-02-28 10:19:56 · 192 阅读 · 0 评论 -
hdu2212 DFS w
Description A DFS(digital factorial sum) number is found by summing the factorial of every digit of a positive integer. For example ,consider the positive integer 145 = 1!+4!+5!, so it'...原创 2018-02-28 17:17:45 · 263 阅读 · 0 评论 -
poj1753 Flip Game
Description Flip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of each piece is white and the other one is black and each pi...原创 2018-03-11 14:44:04 · 150 阅读 · 0 评论 -
uva10976
AC Code#include<stdio.h> #include<math.h> using namespace std; int main() { int k,x,y; while(scanf("%d",&k)!=EOF) { int sum=0; for(int y=k...原创 2018-03-26 20:41:29 · 335 阅读 · 0 评论