![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
赛题blog
是奥利奥阿
世上安得两全法,不负AC不负卿
展开
-
2018 ACM-ICPC Asia Beijing(ICPC亚洲北京赛区)
A - Jin Yong’s Wukong Ranking ListHihoCoder - 1870题意: 给n条句子,每条句子有两个词,说明这两个词之间有一条边,判断这些边会不会形成一个环题解: 一开始的想法是hash字符串离散化再dfs判环,但是交之后发现有bug,队友用map+floyd过了就没debug,但是我感觉这种做法应该也行,有空再仔细debug一下队友的代码:#include<bits/stdc++.h>using namespace std;typedef lon原创 2020-10-07 18:59:27 · 299 阅读 · 0 评论 -
2017 ACM-ICPC Asia Shenyang (ICPC亚洲沈阳赛区)
F - Heron and His TriangleHDU - 6222题意: 给一个N,求最小的 t 使 t >=N,并且使边长为t,t-1,t+1的三角形面积为整数题解:原创 2020-10-07 14:45:55 · 4754 阅读 · 0 评论 -
2018 CCPC 吉林赛区
A - The FoolHDU - 6555题意: 求下列公式奇偶题解: 整数分块,交给队友#include<bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e5+5;#define endl '\n'int solve(int n){ int ans,l,r; ans=0; for(l=1;l<=n;l=r+1){ r=(n/(n/l)); ans+=(n/l)*(原创 2020-10-06 11:32:05 · 200 阅读 · 0 评论 -
2019.4.30 WAGV CF Team replay
前言4月30号的2小时CF重现赛,基本都是DIV2的水题,目标是训练CF题目的题感来上分,主要是读英文题有困难,对题意理解困难…重现赛地址:https://cn.vjudge.net/contest/298841#status/499170967/H/0/密码:wagv18(CF的题复制过来根本没法读…没办法了,要看题目只能去原网址查看,以下有原网址)ACodeforces 1139B...原创 2019-05-06 14:48:23 · 327 阅读 · 0 评论 -
2019.4.30 WAGV CF teamplay two
前言:4月30号 CF DIV2水题队内重现赛,(选题不注意,混入了一道愚人节题目呜)比赛地址:https://cn.vjudge.net/contest/298751#problem/D密码:wagv18ACodeForces - 1150A Stock ArbitragingWelcome to Codeforces Stock Exchange! We’re pretty limi...原创 2019-05-06 15:17:05 · 348 阅读 · 0 评论 -
2019.5.11 Cross The Threshold Play 上
前六道为各个算法的入门题,后面五道为CF的水题,那天做完到现在还困学长大佬们速度太快了555比赛地址:https://cn.vjudge.net/contest/301016#problemAHDU - 1272 小希的迷宫上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所有的通道都应该是双向...原创 2019-05-14 18:57:48 · 186 阅读 · 0 评论 -
2019.5.11 Cross The Threshold Play 下
接上篇HCodeForces - 1117B EmotesThere arennemotes in very popular digital collectible card game (the game is pretty famous so we won’t say its name). Theii-th emote increases the opponent’s happ...原创 2019-05-14 19:24:58 · 317 阅读 · 0 评论 -
ICPC Asia Shenyang 2019 H. Texas hold‘em Poker
Recently, Yang was addicted to Texas hold’em Poker. So he found a lot of people to play with him. Due to the large number of people, Yang had to change the rules of the game:All poker cards are count...原创 2019-09-15 12:00:16 · 295 阅读 · 0 评论