七里笑
七里笑
全部文章
WOJ
C语言基础(1)
UVa(4)
笔试(11)
归档
标签
去牛客网
登录
/
注册
七里笑的博客
全部文章
/ WOJ
(共144篇)
WOJ1124-Football Coach
It is not an easy job to be a coach of a football team. The season is almost over, only a few matches are left to play. All of sudden the team manage...
2017-09-03
0
531
WOJ1123-Bishops
KO learned the rules of chess and defeated his father, all his friends, his little brother, and now no one wants to play with him any more. And so he...
2017-09-03
0
490
WOJ1110-Frame Stacking
Consider the following 5 picture frames placed on an 9 x 8 array. ........ ........ ........ ........ .CCC.... EEEEEE.. ........ ........ ..BBBB.. ....
2017-09-03
0
377
WOJ1106-String's Puzzle
Zhu Ming and Small Li find a strange stone tablet, which has some capitals printed on it. Capitals in every string are different with each other, and ...
2017-09-03
0
478
WOJ1103-Littleken
littleken和computer下象棋,胜者得一分,当一方的分数比另一方多2时。则算胜利,已知littleken下一局胜的概率是P。求最后littleken胜的概率。 输入格式 首先是一个整数T(<=50),表明这组数据中有多少个CASE。 然后接下来T行,每行有一个CASE,N%...
2017-09-03
0
537
WOJ1098-Dongfangxu&zap
dongfangxu 和zap 是二个好朋友,二个人有变态的嗜好,就是玩字符串。在一连串乱七八糟的字符串中找出自已名字连续出现最多的次数,谁的次数出现得多,则在另一个人脸上贴一张纸条。他们需要一个裁判来帮他们,同时他们约定。如果二个人名字出现的连续的次数一样多,则dongfangxu胜利。裁判一看字...
2017-09-02
0
749
WOJ1088-从1开始的N个连续自然数的M次方之和
如题,请编程求出1^M+2^M+3^M+...+N^M的近似值 输入格式 包含多组数据,每组数据包含两个整数:N和M。(1<=N<=10000000,1<=M<=20) 输出格式 对输入的每组数据,用科学记数法输出结果(保留3位有效数字)。 样例输入 4 3...
2017-09-02
0
940
WOJ1099-flirly
flirly 精通数学,经常研究数学问题。对于质数这种问题更是无敌。 对于N个不同的质数P1,P2.....Pn,用这些质数作为项(允许重复),任意组成一个数列,使这个数列的任一连续项的乘积不是完全平方数。 求出这种数列的项数的最大值,flirly想知道这个值的大小,由于结果可能很大,只需要输出...
2017-09-02
0
530
WOJ1092-Pure numbers
A positive integer m is said to a pure number if and only if m can be expressed as q-th power of a prime p (q >= 1). Here your job is easy, for a ...
2017-09-02
0
544
WOJ1087-数星星
一天,小希坐在院子里数星星,Gardon就出了个难题给她,让她数数天上的星星最多有多少个是在同一条直线上的。天上的星星太多了,小希马上就看花了眼,你能写个程序来帮她计算么? 输入格式 输入包含多组数据,每组数据的开头是一个整数N(N<=300),接下来的N对数每对表示一个星星的位置(星星...
2017-09-02
0
535
首页
上一页
4
5
6
7
8
9
10
11
12
13
下一页
末页