七里笑
七里笑
全部文章
分类
C语言基础(1)
UVa(4)
WOJ(144)
笔试(11)
归档
标签
去牛客网
登录
/
注册
七里笑的博客
全部文章
(共160篇)
WOJ1098-Dongfangxu&zap
dongfangxu 和zap 是二个好朋友,二个人有变态的嗜好,就是玩字符串。在一连串乱七八糟的字符串中找出自已名字连续出现最多的次数,谁的次数出现得多,则在另一个人脸上贴一张纸条。他们需要一个裁判来帮他们,同时他们约定。如果二个人名字出现的连续的次数一样多,则dongfangxu胜利。裁判一看字...
2017-09-02
0
755
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
943
WOJ1099-flirly
flirly 精通数学,经常研究数学问题。对于质数这种问题更是无敌。 对于N个不同的质数P1,P2.....Pn,用这些质数作为项(允许重复),任意组成一个数列,使这个数列的任一连续项的乘积不是完全平方数。 求出这种数列的项数的最大值,flirly想知道这个值的大小,由于结果可能很大,只需要输出...
2017-09-02
0
531
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
548
WOJ1087-数星星
一天,小希坐在院子里数星星,Gardon就出了个难题给她,让她数数天上的星星最多有多少个是在同一条直线上的。天上的星星太多了,小希马上就看花了眼,你能写个程序来帮她计算么? 输入格式 输入包含多组数据,每组数据的开头是一个整数N(N<=300),接下来的N对数每对表示一个星星的位置(星星...
2017-09-02
0
538
WOJ1080-Game
Flymouse and snoopy play the game of addition by adding an integer p with a number m(1<=m<=13) in each turn. Since flymouse is younger, he alwa...
2017-09-02
0
518
WOJ1078-Emotional Rate
SHknife found a problem at Children 输入格式 There are multiple test cases. For each test case, the first line contains two integers N, M (1<=N<=...
2017-09-02
0
392
WOJ1075-Ball
Six guys (a,b,c,d,e,f) play passing ball game.They stand from a to f as a clockwise cycle. The rule is: one only can pass ball to the person next to ...
2017-09-02
0
433
WOJ1072-Order
Knuthocean is a coach of WHUACM team now. One day, he wants to have a meeting with the team members, so he should order a classroom for the meeting. C...
2017-09-02
0
477
WOJ1071-Joseph problem
The Joseph's problem is notoriously known. For those who are not familiar with the original problem: from among n people, numbered 1, 2, ..., n, stan...
2017-09-02
0
419
首页
上一页
6
7
8
9
10
11
12
13
14
15
下一页
末页