- 博客(5)
- 收藏
- 关注
原创 1999 ICPC WF H Flooded! 【思维】【细节】
题目链接: UVA-815 Description: To enable homebuyers to estimate the cost of flood insurance, a real-estate firm provides clients with the elevation of each 10-meter by 10-meter square of land in regions wh
2017-06-06 00:31:36 559
原创 【知识点】 ---寻找第n个素数
如何快速找到第n个素数呢? 看到这个问题后我的第一思路就是用筛法筛出素数数组。 Mycode:#include <bits/stdc++.h>using namespace std;const int MAX = 5000005;int pri[MAX];int main(){ memset(pri, 0, sizeof(pri)); for(int i = 2; i <
2017-06-05 19:35:29 4058
原创 2017 ICPC WF I Secret Chamber at Mount Rushmore【基础/签到】
题目链接:2017 WF I Secret Chamber at Mount Rushmore Description: By now you have probably heard that there is a spectacular stone sculpture featuring four famous U.S.presidents at Mount Rushmore. However
2017-06-02 23:26:03 741
原创 1990 ICPC WF B Squares【暴力】
题目链接:UVa 201 SquaresDescription: A children’s board game consists of a square array of dots that contains lines connecting some of the pairs of adjacent dots. One part of the game requires that the
2017-06-02 22:45:18 527
原创 1990 ICPC WF C Repeating Decimals 【数组和字符串】【模拟】
题目链接: UVa 202Description: The decimal expansion of the fraction 1/33 is 0.03, where the 03 is used to indicate that the cycle 03 repeats indefinitely with no intervening digits. In fact, the decima
2017-06-02 20:31:55 437
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人