05 2018 档案
摘要:I Think I Need a Houseboat POJ - 1005 解题思路:水题 #include <iostream> #include <cstdio> #include <cmath> using namespace std; int main() { int n; double x
阅读全文
摘要:Financial Management POJ - 1004 解题思路:水题。 #include <iostream> #include <cstdio> #include <iomanip> #include <cmath> using namespace std; int main() { d
阅读全文
摘要:How far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a card length. (We're assuming
阅读全文
摘要:现在有许多房源,于是贝壳找房为每个房子都设置了一个等级,从郊区到市区依次排开(这些房子都是连续的),凑巧的是这些房子的等级正好满足数列: \displaystyle a_{i + 1} = a_i + i + 2,\ \ \ \ a_1 = 1ai+1=ai+i+2, a1=1 现在有许多客户
阅读全文
摘要:一个规则的实心十二面体,它的 20个顶点标出世界著名的20个城市,你从一个城市出发经过每个城市刚好一次后回到出发的城市。 Input前20行的第i行有3个数,表示与第i个城市相邻的3个城市.第20行以后每行有1个数m,m<=20,m>=1.m=0退出. Output输出从第m个城市出发经过每个城市1
阅读全文

浙公网安备 33010602011771号