- 博客(2)
- 收藏
- 关注
原创 C. Number of Pairs div3
C. Number of Pairstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an array a of n integers. Find the number of pairs (i,j) (1≤i<j≤n) where the sum of ai+aj is greater than or equal
2021-06-11 21:05:45 452
原创 背包问题
Baby Ehab Partitions AgainBaby Ehab was toying around with arrays. He has an array a of length n. He defines an array to be good if there’s no way to partition it into 2 subsequences such that the sum of the elements in the first is equal to the sum of th
2021-06-10 21:44:51 167
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人