- 博客(4)
- 收藏
- 关注
原创 Where is the Marble? UVA – 10474
介绍:紫书stl入门习题 链接:https://cn.vjudge.net/problem/UVA-10474 题意:有n个大理石上标有数字,有q个问题,排序后回答每个问题数字的位置 解题思路:主要是考察对lower_bound和sort基本stl函数的使用 lower_bound:作用是查找大于或者等于x的一个位置 注意!返回的是地址而不是数组的下标或者其他...
2019-02-19 08:16:55 75
原创 2019.2.11rating 题解
Table of Contents A – キャンディーと2人の子供/ Fighting over CandiesB – すぬけ君の涂り絵2 イージー/ Snuke’s Coloring 2 (ABC Edit)E – AtCoder ***比赛F – 在a和b之间……G – 盒子和糖果H – 普通游戏 A – キャンディーと2人の子供/ Fighting over Candies ...
2019-02-12 06:03:51 160
原创 C. Trailing Loves (or L’oeufs?)
time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe number “zero” is called “love” (or “l’oeuf” to be precise, literally means “egg” in French...
2019-02-11 09:16:29 127
原创 Digit Counting UVA – 1225
Trung is bored with his mathematics homeworks. He takes a piece of chalk and starts writing a sequence of consecutive integers starting with 1 to N (1 < N < 10000). After that, he counts th...
2019-02-08 12:22:47 106
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人