扩展欧几里德
文章平均质量分 80
lulining
这个作者很懒,什么都没留下…
展开
-
poj2891
Strange Way to Express Integers Description Elina is reading a book written by Rujia Liu, which introduces a strange way to express non-negative integers. The way is described as following:翻译 2012-07-04 22:52:02 · 568 阅读 · 0 评论 -
poj2115
C Looooops Description A Compiler Mystery: We are given a C-language style for loop of type for (variable = A; variable != B; variable += C) statement; I.e., a loop which starts by s翻译 2012-07-05 09:50:29 · 482 阅读 · 0 评论 -
poj1061
青蛙的约会 Description 两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上,于是它们约定各自朝西跳,直到碰面为止。可是它们出发之前忘记了一件很重要的事情,既没有问清楚对方的特征,也没有约定见面的具体位置。不过青蛙们都是很乐观的,它们觉得只要一直朝着某个方向跳下去,总能碰到对方的。但是除非这两只青蛙在同一时间跳到同一点上,不然翻译 2012-07-04 16:50:44 · 682 阅读 · 1 评论 -
poj2142
The Balance Description Ms. Iyo Kiffa-Australis has a balance and only two kinds of weights to measure a dose of medicine. For example, to measure 200mg of aspirin using 300mg weights and 700mg翻译 2012-07-08 18:41:04 · 551 阅读 · 0 评论