- 博客(4)
- 收藏
- 关注
原创 codeforce C. Ayoub and Lost Array
C. Ayoub and Lost Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAyoub had an array aa of integers of size nn and this array had two interest...
2019-01-21 10:40:00 151
原创 codeforce B. Zuhair and Strings
B. Zuhair and Stringstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGiven a string ss of length nn and integer kk (1≤k≤n1≤k≤n). The string ss has ...
2019-01-21 10:06:29 154
原创 codeforce A. Salem and Sticks(暴力是最好的良药)
A. Salem and Stickstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSalem gave you nn sticks with integer positive lengths a1,a2,…,ana1,a2,…,an.For ...
2019-01-20 22:43:05 182
原创 51nod 1001 数组中等于k数对
给出一个整数K和一个无序数组A,A的元素为N个互不相同的整数,找出数组A中所有和等于K的数对。例如K = 8,数组A:{-1,6,5,3,4,2,9,0,8},所有和等于8的数对包括(-1,9),(0,8),(2,6),(3,5)。 输入 第1行:用空格隔开的2个数,K N,N为A数组的长度。(2 <= N <= 50000,-10^9 <= K <= 10^9) 第2 -...
2019-01-18 16:56:28 163
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人