摘要:
Problem Description 看病要排队这个是地球人都知道的常识。不过经过细心的0068的观察,他发现了医院里排队还是有讲究的。0068所去的医院有三个医生(汗,这么少)同时看病。而看病的人病情有轻重,所以不能根据简单的先来先服务的原则。所以医院对每种病情规定了10种不同的优先级。级别为1 阅读全文
posted @ 2017-08-09 10:33
浅忆~
阅读(145)
评论(0)
推荐(0)
摘要:
Problem Description The WHU ACM Team has a big cup, with which every member drinks water. Now, we know the volume of the water in the cup, can you tel 阅读全文
posted @ 2017-08-09 10:09
浅忆~
阅读(105)
评论(0)
推荐(0)
摘要:
Problem Description 有三个正整数a,b,c(0<a,b,c<10^6),其中c不等于b。若a和c的最大公约数为b,现已知a和b,求满足条件的最小的c。 Input 第一行输入一个n,表示有n组测试数据,接下来的n行,每行输入两个正整数a,b。 Output 输出对应的c,每组测试 阅读全文
posted @ 2017-08-09 10:05
浅忆~
阅读(159)
评论(0)
推荐(0)
摘要:
Problem Description You want to processe a sequence of n distinct integers by swapping two adjacent sequence elements until the sequence is sorted in 阅读全文
posted @ 2017-08-09 10:03
浅忆~
阅读(114)
评论(0)
推荐(0)
摘要:
Problem Description As we all know, machine scheduling is a very classical problem in computer science and has been studied for a very long history. S 阅读全文
posted @ 2017-08-09 09:52
浅忆~
阅读(147)
评论(0)
推荐(0)
摘要:
A square number is an integer number whose square root is also an integer. For example 1, 4, 81 are some square numbers. Given two numbers a and b you 阅读全文
posted @ 2017-08-09 09:49
浅忆~
阅读(195)
评论(0)
推荐(0)
摘要:
Watchmen are in a danger and Doctor Manhattan together with his friend Daniel Dreiberg should warn them as soon as possible. There are n watchmen on a 阅读全文
posted @ 2017-08-09 09:45
浅忆~
阅读(145)
评论(0)
推荐(0)
摘要:
There are n pictures delivered for the new exhibition. The i-th painting has beauty ai. We know that a visitor becomes happy every time he passes from 阅读全文
posted @ 2017-08-09 09:43
浅忆~
阅读(176)
评论(0)
推荐(0)
摘要:
Friends are going to play console. They have two joysticks and only one charger for them. Initially first joystick is charged at a1 percent and second 阅读全文
posted @ 2017-08-09 09:41
浅忆~
阅读(169)
评论(0)
推荐(0)
摘要:
A big marathon is held on Al-Maza Road, Damascus. Runners came from all over the world to run all the way along the road in this big marathon day. The 阅读全文
posted @ 2017-08-09 09:22
浅忆~
阅读(232)
评论(0)
推荐(0)
浙公网安备 33010602011771号