OJ试题
Chuan73
这个作者很懒,什么都没留下…
展开
-
北大OJ:1005
1005:Description:Fred Mapper is considering purchasing some land in Louisiana to build his house on. In the process of investigating the land, he learned that the state of Louisiana is actually shrinki原创 2017-05-11 11:34:40 · 584 阅读 · 0 评论 -
北大OJ:1006 生理周期问题 中国剩余定理
参考: 1.http://blog.csdn.net/shanshanpt/article/details/8724769 2.http://www.cnblogs.com/walker01/archive/2010/01/23/1654880.html1006:Description:人生来就有三个生理周期,分别为体力、感情和智力周期,它们的周期长度为23天、28天和转载 2017-05-11 17:26:26 · 590 阅读 · 0 评论 -
北大OJ试题笔记 : 1000-1002
近期由于一些需要,在开始刷OJ试题,留下一些做题笔记,也许以后还用得到,使用的语言主要为Java和C。1000:输出a+b:#include<stdio.h>int main(void){ int a, b; scanf("%d %d", &a, &b); printf("%d", a+b); return 0;}1001: 高精度幂的计算Description:原创 2017-05-09 16:24:47 · 701 阅读 · 0 评论 -
请教!!!POJ: 1007一直wrong answer,换一种写法就AC,其实是一样的。。
代码:package Main;import java.util.ArrayList;import java.util.Collections;import java.util.Comparator;import java.util.HashMap;import java.util.List;import java.util.Map;import java.util.Map.Entry;原创 2017-05-12 16:35:15 · 811 阅读 · 0 评论 -
北大OJ:1003
1003:HangoverDescription:How far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a card length. (We're assuming that the cards must be p原创 2017-05-10 16:54:26 · 415 阅读 · 0 评论 -
北大OJ:1004
1004:Description: Larry graduated this year and finally has a job. He's making a lot of money, but somehow never seems to have enough. Larry has decided that he needs to grab hold of his financial原创 2017-05-10 17:23:44 · 503 阅读 · 0 评论 -
POJ:1008 JAVA
POJ:1008Maya Calendar Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 78449 Accepted: 24123 DescriptionDuring his last sabbatical, professor M. A. Ya made a surprising discove原创 2017-06-21 16:30:10 · 613 阅读 · 0 评论