七里笑
七里笑
全部文章
WOJ
C语言基础(1)
UVa(4)
笔试(11)
归档
标签
去牛客网
登录
/
注册
七里笑的博客
全部文章
/ WOJ
(共144篇)
WOJ1300-Stone
Dzs and Sproblvem love mathmatics, so when they play games they also want to find out the inner rules of the game. The game they played is very class...
2017-09-09
0
542
WOJ1293-数字三角形
输入两个数M、N,(0<=M<=20,1<=N<=10),你需要编一个程序将以M起始的整数排成边长为N的三角形,形式如下: ... M+3 ... M+1 M+4 ... M M+2 M+5 ... 输入格式 输入有多组数据,每组数据一行,包含两个...
2017-09-09
0
466
WOJ1299-Merge Apple
In front of Sandy lays a big table, on which there're piles of apples formed a line. That looks good, but his mother doesn't like it, so Sandy has to ...
2017-09-09
0
563
WOJ1296-Coins
Snoopy has three coins. One day he tossed them on a table then and tried to flip some of them so that they had either all faces or all backsides faci...
2017-09-09
0
623
WOJ1294-数老鼠
斯坦迪博士在研究一种新的老鼠,它们寿命很长,可以活20年以上,繁殖能力强。一对成年老鼠每6个月可以生2对小鼠(假定每对小鼠雌雄各一),小鼠1年后可以成长为成年老鼠,并生下2对小鼠(假定每对小鼠雌雄各一)。现在博士想要知道,在理想的环境下,一对小鼠经过n整年后,一共可以繁殖出多少对老鼠?(包括它本身)...
2017-09-09
0
740
WOJ1291-不一样的字符串
Bob的老师给了他一些字符串,需要他去找出其中一个最长的且没有重复元素的子串。 输入格式 Bob的老师给的长度不超过100000的字符串。 包含多组输入数据,输入以一行#结束。 输出格式 对于每一个字符串,找到其中最长的、没有重复元素的子字符串,然后按下述格式输出一行: 先输出子字符串的长度...
2017-09-08
0
398
WOJ1290-Exchange
Knuthocean's teacher asked him to sort some numbers ascending and get the times of exchanges (exchanges happen only between two neighboring letters), ...
2017-09-08
0
435
WOJ1289-DNA
A DNA chain is a sequence of proteins of 4 types. The types are encoded using the characters 'A', 'C', 'G', 'T'. Two proteins are called complementar...
2017-09-08
0
563
WOJ1286-Area Ratio
Given a triangle, what is the ratio of the area of its inscribed circle to that of its circum circle? 输入格式 9 integers x1 y1 z1 x2 y2 z2 x3 y3 z3 on...
2017-09-08
0
478
WOJ1288-Changing String
You are given two Strings A and B that have the same length and contain only lowercase letters ('a'-'z'). The distance between two letters is defined...
2017-09-08
0
540
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页