题目链接
分类:STL
【set去重】矩阵中不重复的数
一个m*n的矩阵。 该矩阵的第一列是a^b,(a+1)^b,.....(a + n - 1)^b 第二列是a^(b+1),(a+1)^(b+1),.....(a + n - 1)^(b+1) ....... 第m列是a^…
【STL二分、打表】因子只包含2 3 5的数
51nod P1010 K的因子中只包含2 3 5。满足条件的前10个数是:2,3,4,5,6,8,9,10,12,15。 所有这样的K组成了一个序列S,现在给出一个数n,求S中 >= 给定数的最小的数。 例如:n…
【STL-MAP】NYOJ 991 Registration system
A new e-mail service "Berlandesk" is going to be opened in Berland in the near future. The site administration…
【优先队列/贪心】The Average
In a speech contest, when a contestant finishes his speech, the judges will then grade his performance. The st…