【CodeForces】A. Pouring Rain
摘要:http://acm.hust.edu.cn/vjudge/contest/126623#problem/E Description A lot of people in Berland hates rain, but you do not. Rain pacifies, puts your tho
阅读全文
posted @
2016-08-06 16:27
不忧尘世不忧心
阅读(308)
推荐(0)
New Year Transportation codeforces500A(水题)
摘要:http://codeforces.com/problemset/problem/500/A 题意:每个房间上都标了需要走的步数,问你按房间上面所标的步数走,能否到达方间t。(从第一个开始) #include<stdio.h> #include<math.h> #include<string.h>
阅读全文
posted @
2016-08-04 20:50
不忧尘世不忧心
阅读(202)
推荐(0)
1sting hdu 1865(模拟)
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1865 分析:(1)当全部为0时输出0; (2)当要输出字母的前面数字为1时,注意只能输出字母(-1x —— -x || 1x ——— x),由于最后一项是不带字母的,所以当它为(-)1,还理应 输出(-)1。 #
阅读全文
posted @
2016-08-04 15:38
不忧尘世不忧心
阅读(160)
推荐(0)
畅通工程续hdu 1874(最短路)
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1874 #include<stdio.h> #include<math.h> #include<string.h> #include<ctype.h> #include<stdlib.h> #include <io
阅读全文
posted @
2016-08-04 15:26
不忧尘世不忧心
阅读(134)
推荐(0)
LightOJ 1006
摘要:http://acm.hust.edu.cn/vjudge/contest/121396#problem/G int a, b, c, d, e, f;int fn( int n ) { if( n == 0 ) return a; if( n == 1 ) return b; if( n == 2
阅读全文
posted @
2016-08-03 09:50
不忧尘世不忧心
阅读(147)
推荐(0)