__Serendipity__s
__Serendipity__s
全部文章
题解
归档
标签
去牛客网
登录
/
注册
__Serendipity__s的博客
全部文章
/ 题解
(共23篇)
G - sort HDU - 1425
4-Day1-G给你n个整数,请按从大到小的顺序输出其中前m大的数。Input每组测试数据有两行,第一行有两个数n,m(0<n,m<1000000),第二行包含n个各不相同,且都处于区间[-500000,500000]的整数。Output对每组测试数据按从大到小的顺序输出前m大的数。Sa...
2021-08-31
0
528
A - Similar Strings HDU - 6485
3-Day1-APutting two similar strings together will create a very strong power that can quake the earth into parts and the person who did that can be ca...
2021-08-31
0
670
G - 棋盘问题 POJ - 1321
在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input输入含有多组测试数据。每组数据的第一行是两个正整数,n k,用一个空格隔开,表示了将在一个...
2021-08-31
0
479
F - Find The Multiple POJ - 1426
2-Day2-FGiven a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains only the digits 0 and ...
2021-08-31
0
733
E - Power Calculus POJ - 3134
2-Day2-EStarting with x and repeatedly multiplying by x, we can compute x31 with thirty multiplications: x2 = x × x, x3 = x2 × x, x4 = x3 × x, …, x31 ...
2021-08-31
0
456
D - Find a way HDU - 2612
2-Day2-D Pass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at finally. Leave Ningbo one year, yifenfei have many people to meet. Espe...
2021-08-31
0
498
C - Fire! UVA - 11624
2-Day2-CJoe works in a maze. Unfortunately, portions of the maze havecaught on fire, and the owner of the maze neglected to create a fireescape plan. ...
2021-08-31
0
589
B - Binary Search Aizu - ALDS1_4_B
2-Day2-BSearch IIYou are given a sequence of n integers S and a sequence of different q integers T. Write a program which outputs C, the number of int...
2021-08-31
0
456
A - Lake Counting POJ - 2386
2-Day2-ADue to recent rains, water has pooled in various places in Farmer John's field, which is represented by a rectangle of N x M (1 <= N <= ...
2021-08-31
0
540
G - DNA sequence HDU - 1560
2-Day-GThe twenty-first century is a biology-technology developing century. We know that a gene is made of DNA. The nucleotide bases from which DNA is...
2021-08-31
0
550
首页
上一页
1
2
3
下一页
末页