
map
coding__girl
这个作者很懒,什么都没留下…
展开
-
POJ 1840 Eqs
Description Consider equations having the following form: a1x13+ a2x23+ a3x33+ a4x43+ a5x53=0 The coefficients are given integers from the interval [-50,50]. It is consider a solution a system (原创 2017-09-15 22:47:25 · 261 阅读 · 0 评论 -
POJ 2135 Rank List
Description Li Ming is a good student. He always asks the teacher about his rank in his class after every exam, which makes the teacher very tired. So the teacher gives him the scores of all the stude原创 2017-09-16 14:06:53 · 230 阅读 · 0 评论 -
POJ 3481 Double Queue
题意: 1.表示插入客户K,他的优先级是P(相当于大小) 2.表示输出当前优先级最高的客户(即找出最大值),并且删除。 3.输出最低级的并删除。最开始思路,直接用map写,然而超时了:#include <iostream>#include <cstdio>#include <map>using namespace std;int main(){ map <int,int> c原创 2017-09-16 21:18:41 · 230 阅读 · 0 评论 -
HDU 4287 Intelligent IME
Problem Description We all use cell phone today. And we must be familiar with the intelligent English input method on the cell phone. To be specific, the number buttons may correspond to some Englis原创 2017-09-16 21:50:38 · 339 阅读 · 0 评论 -
UVA 417 Word Index
Encoding schemes are often used in situations requiring encryption or information storage/transmission economy. Here, we develop a simple encoding scheme that encodes particular types of words with ve原创 2017-10-02 17:30:08 · 429 阅读 · 0 评论