oj总结【审题】

审题

oj上多数题是英文题,因此就对我们做题者的审题提出了要求,审好题目才能避免无用功(我已亲身体验了审错题的尴尬及无奈),当然对于中文题目也应仔细审题。例如hdu1405题:

The Last Practice

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 7277    Accepted Submission(s): 1473


Problem Description
Tomorrow is contest day, Are you all ready?
We have been training for 45 days, and all guys must be tired.But , you are so lucky comparing with many excellent boys who have no chance to attend the Province-Final.

Now, your task is relaxing yourself and making the last practice. I guess that at least there are 2 problems which are easier than this problem.
what does this problem describe?
Give you a positive integer, please split it to some prime numbers, and you can got it through sample input and sample output.
 

Input
Input file contains multiple test case, each case consists of a positive integer n(1<n<65536), one per line. a negative terminates the input, and it should not to be processed.
 

Output
For each test case you should output its factor as sample output (prime factor must come forth ascending ), there is a blank line between outputs.
 

Sample Input
   
   
60 12 -1
 

Sample Output
   
   
Case 1. 2 2 3 1 5 1 Case 2. 2 2 3 1
Hint
60=2^2*3^1*5^1
 
一般来讲我们对于那些密密麻麻的英文比较头痛,所以一般我们先看给的测试数据(最起码我是这样的),对于题目的要求应该没问题,如果我们没有看英文解释的话,可能就认为输入数据是以-1结束的(O__O"…这题会长记性的),如果仔细看一下就会发现与你想的并不一样,我们的惯性思维极易让我们理解错题意,有的也许对于你的代码正确性并没有太大的关系,但有时会让你长记性(结果都对,就是交上去不对,会郁闷死的)。
以后应加长审题的时间,俗话说:磨刀不误砍柴工。理清题意不至于做无用功啊。
当然读题也是有技巧的,抓住输入的结束标志,输出格式,任务要求等关键因素,还要沉住气,审题啊!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(~~~~(>_<)~~~~ )细节决定成败!!!!加油!
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值