自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 map 数组里放 pair 或 结构体

放 pair#includeusing namespace std;typedef pairTL;maps;int main(){ TL a; a.first = 1,a.second = 2; s[a] = 1; cout << s[a];}放结构体#includeusing namespace std;struct Test {

2017-05-29 21:19:18 1321

原创 平常水题 - atcoder 062 - D - 3N Numbers

D - 3N NumbersTime limit : 2sec / Memory limit : 256MBScore : 500 pointsProblem StatementLet N be a positive integer.There is a numerical sequence of length 3N, a=(a1,a2,…,a3N). Snuke

2017-05-25 19:07:31 510

原创 平常水题 - 蚂蚁(栈的使用)

蚂蚁Time limit per test: 0.5 secondsTime limit all tests: 5.0 secondsMemory limit: 256 megabytes水平线上有 N 只蚂蚁,每只蚂蚁的位置及大小均不同。他们沿着 X 轴爬行,有的向左,有的向右,爬行的速度是一样的,两只蚂蚁相遇大一点的会吃掉小的。现在从左到右给出每只蚂蚁的大小和爬行的

2017-05-21 21:19:18 713

原创 平常水题 - J. Architect of Your Own Fortune (二分图匹配)

J. Architect of Your Own FortuneVasya is a schoolboy who rides a trolley bus and then a bus to get to school. He’salways very happy to get a “lucky ticket,” which means the total of the first thre

2017-05-16 19:58:30 771

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除