- 博客(14)
- 收藏
- 关注
原创 CodeForces - 581B - Luxurious Houses 逆序处理&水
题目链接: http://codeforces.com/problemset/problem/581/B B - Luxurious Houses CodeForces - 581B五月份竟然要过去了,回想起来也没做什么事情,前半个月忙于省赛,后面半个月,想起来只有两件事,自己的生日和整个小组连着通宵 3 天赶创新实践结题。生日那天,原本计划了很多,但是最近越来越没心情,干脆就叫了几个朋友撸串。
2017-05-31 22:03:49 677
原创 #416 Div.2 C. Vladik and Memorable Trip - DP&异或
题目链接: http://codeforces.com/contest/811/problem/Ctime limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Vladik often travels by trains. He rememb
2017-05-28 02:52:04 1567 8
原创 #416 Div.2 B. Vladik and Complicated Book - 排序&技巧
B. Vladik and Complicated Book time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Description Vladik had started reading a complicated book
2017-05-28 00:19:08 1099
原创 #416 Div.2 A. Vladik and Courtesy-water
A. Vladik and Courtesy time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output At regular competition Vladik and Valera won a and b candies respec
2017-05-28 00:08:31 512
原创 BF Calculator CodeForces - 784G
Description In this problem you will write a simple generator of Brainfuck ( https://en.wikipedia.org/wiki/Brainfuck) calculators.You are given an arithmetic expression consisting of integers from 0
2017-05-26 17:31:39 486
原创 17-JSCPC&&CCPC中南赛区 E-Partial Sum-区间求和&前缀和
题目链接: http://202.197.224.59/OnlineJudge2/index.php/Problem/read/id/1264Partial SumBobo has a integer sequence a1,a2,…,an of length n. Each time, he selects two ends 0≤l#include<bits/stdc++.h>using na
2017-05-24 00:04:40 607
原创 14多校 B-A simple dynamic programming problem
题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=4972 Description Dragon is watching NBA. He loves James and Miami Heat.Here’s an introduction of basketball game:http://en.wikipedia.org/wiki/Basketbal
2017-05-23 19:32:26 400
原创 17-JSCPC&&CCPC中南赛区 H-Highway 树的直径DFS
题目链接: http://202.197.224.59/OnlineJudge2/index.php/Problem/read/id/1267Description In ICPCCamp there were n towns conveniently numbered with 1,2,…,n connected with (n−1) roads. The i-th road connecti
2017-05-22 22:13:52 494
原创 17-JSCPC&&CCPC中南赛区 I-Strange Optimization-数学
大意 求 这个的最大值 http://202.197.224.59/OnlineJudge2/index.php/Problem/read/id/1268题解: #include <bits/stdc++.h>using namespace std;typedef long long ll;#define mem(s,t) memset(s,t,sizeof(s))#define D(
2017-05-20 11:45:01 666
原创 17-JSCPC&&CCPC中南赛区 D-Super Resolution-字符串签到
题目链接:http://202.197.224.59/OnlineJudge2/index.php/Problem/read/id/1263 //湘潭CCPC同一套题 竟然没找到JSCPC的地址 实现图形的放大 直接输出Description Bobo has an n×m picture consists of black and white pixels. He loves the pi
2017-05-20 11:21:08 805
原创 17.5.18E - Mario and Mushrooms HDU - 4015 概率题
Description Mario usually relaxes himself by walking along the shady track near the Mushroom Kingdom. The evil King Koopa noticed that and placed a lot of mushroom on the road. There are two types of
2017-05-18 00:42:37 502
原创 2017江苏省赛
上周末作为游客队去参加了江苏省赛 jscpc,和 ccpc 湘潭用的是一套题。我们学校南京、湘潭各去了 3 队,南京 AC 情况分别是5、4、4题,我们队 A 了 4 题排名 28 ,大三队打得不错排名第 5 ,还有一支队在我们下面一点,大概 30 多名吧。湘潭那边三支队 AC 情况好像是4、4、3。总体来说这次成绩都还可以。第一次以一个队为单位参加比赛,收获了挺多,从不习惯 IDE、ubuntu
2017-05-16 12:37:01 836
原创 17.5.7.Problem A: 五队-大连-巧妙的安排
Time Limit: 1 Sec Memory Limit: 128 MB Description cc总喜欢胡思乱想,这天,ta设想了这样一个场景: 一城市有n条道路(可视为线段),任意两条道路都有一个交点(交点不为道路的端点),任意三条道路都不交于同一点。现在,cc打算在每条道路的其中一个端点上放一辆汽车,方向朝向道路的另一端。全部放置好后,所有汽车开始行驶,且每过一定时间,所有汽车
2017-05-09 23:43:09 369
原创 #411 Div.2 D. Minimum number of steps
We have a string of letters ‘a’ and ‘b’. We want to perform some operations on it. On each step we choose one of substrings “ab” in the string and replace it with the string “bba”. If we have no “ab” a
2017-05-05 01:56:42 760
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人