会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
GoldenFingers
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
16
17
18
19
20
21
22
23
24
···
33
下一页
2017年10月8日
Codeforces Round #439 (Div. 2) A. The Artful Expedient
摘要: A. The Artful Expedient 题目链接http://codeforces.com/contest/869/problem/A 解题心得:就是一个水题,读懂题就好,题意是,(i,j)ai异或bi,统计ai异或bi得到的数能够在ai或bi中找的个数,如果...
阅读全文
posted @ 2017-10-08 16:16 GoldenFingers
阅读(109)
评论(0)
推荐(0)
2017年10月6日
Codeforces Round #437 (Div. 2, based on MemSQL Start[c]UP 3.0 - Round 2)
摘要: A - Between the Offices 题目链接http://codeforces.com/contest/867/problem/A 解题心得:就是一个水题,读懂题就好,如果从S到F次数大于F到S就输出YES,否则输出NO。#includeusing nam...
阅读全文
posted @ 2017-10-06 17:13 GoldenFingers
阅读(160)
评论(0)
推荐(1)
2017年9月27日
2017 ACM-ICPC 亚洲区(南宁赛区)网络赛 F题
摘要: The Heaviest Non-decreasing Subsequence Problem解题心得这个题就是一个简单的动态规划,非递减最长子序列的改版(加一个权重),只要把权重为5的改成5个权重为1的然后dp就可以解决了,注意要用nlogn的复杂度才可以。#inc...
阅读全文
posted @ 2017-09-27 20:38 GoldenFingers
阅读(166)
评论(0)
推荐(0)
2017年9月24日
图论:POJ2186-Popular Cows (求强连通分量)
摘要: Popular CowsDescriptionEvery cow’s dream is to become the most popular cow in the herd. In a herd of N (1 #include#includeusing namesp...
阅读全文
posted @ 2017-09-24 10:10 GoldenFingers
阅读(125)
评论(0)
推荐(0)
2017年9月13日
DFS:POJ1562-Oil Deposits(求连通块个数)
摘要: Oil DepositsTime Limit: 1000MS Memory Limit: 10000KDescriptionThe GeoSurvComp geologic survey company is responsible for detecting und...
阅读全文
posted @ 2017-09-13 19:49 GoldenFingers
阅读(110)
评论(0)
推荐(0)
DFS:POJ3620-Avoid The Lakes(求最基本的联通块)
摘要: Avoid The LakesTime Limit: 1000MS Memory Limit: 65536KDescriptionFarmer John’s farm was flooded in the most recent storm, a fact only ...
阅读全文
posted @ 2017-09-13 19:28 GoldenFingers
阅读(112)
评论(0)
推荐(0)
2017年9月9日
map函数的应用:UVa156-Ananagrams
摘要: AnanagramsMost crossword puzzle fans are used to anagrams — groups of words with the same letters in different orders — for example OP...
阅读全文
posted @ 2017-09-09 11:07 GoldenFingers
阅读(137)
评论(0)
推荐(0)
set的应用:UVa10815-Andy's First Dictionary
摘要: Andy’s First DictionaryAndy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for him, as the nu...
阅读全文
posted @ 2017-09-09 10:16 GoldenFingers
阅读(119)
评论(0)
推荐(0)
2017年9月7日
水题:UVa253-Cube painting
摘要: Cube paintingWe have a machine for painting cubes. It is supplied with three different colors: blue, red and green. Each face of the c...
阅读全文
posted @ 2017-09-07 17:23 GoldenFingers
阅读(220)
评论(0)
推荐(0)
2017年9月6日
BFS:UVa220 ACM/ICPC 1992-Othello(黑白棋)
摘要: OthelloOthello is a game played by two people on an 8 x 8 board, using disks that are white on one side and black on the other. One pl...
阅读全文
posted @ 2017-09-06 19:57 GoldenFingers
阅读(188)
评论(0)
推荐(0)
上一页
1
···
16
17
18
19
20
21
22
23
24
···
33
下一页
公告