Guess the number
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 7077 Accepted Submission(s): 1626
Problem Description
AekdyCoin is the most powerful boy in the group ACM_DIY, whose signature is valuable. In order to get his signature, you must first solve this problem. But don‘t be worried, because this is the easiest problem in the world. You are given only one sentence written
in English. You are asked to output a single integer implied by this sentence.
Input
There is only one line in the input. It is a sentence which implies some integer. The length of the sentence is no more than 16. The sentence contains only letters(both uppercase and lowercase), digits, and whitespace. You may assume the given sentence is written
in standard English, and always implies exactly one single integer.
Output
There is only one integer to output: that is the integer implied by the input sentence. You may assume this integer is in the range of 32-bit signed int.
Sample Input
One
Sample Output
1
Author
[email protected]
Source
HDOJ Monthly Contest – 2010.03.06
Recommend
lcy | We have carefully selected several similar problems for you: 3333 3335 3338 3339 3341
题意:给你一个长度16的字符串去输出这个字符串代表的数据。
解题思路:
官方给的解题报告:本题属于非正常题,纯属娱乐。因为本题最多只有16个字符,所以可以用X分提交法来套取输入数据,可以利用的返回结果至少有6种,把字符先统一转化成小写后,基本上两次提交可以确定一个字符,因此可以在期望时间内得到解。
无语啊。。。奇葩题!奇葩题!奇葩题!
巫神有篇博客讲解的抓取hdoj后台测试输出数据:http://blog.watashi.ws/tag/hdoj/
反正现在我是没看懂。。也不知道怎么用。。。
网上有人放肉给出的测试数据》》》72....输出72就可以了。。。。神题。。神题
#include <stdio.h> int main() { printf("72\n"); }
版权声明:本文为博主原创文章,转载请注明出处。