CodeForces-171D Broken checker

D. Broken checker
"This problem is rubbish! There is not statement, and there are only 5 test cases. The problemsetter took liberties with this problem!" — people complained in the comments to one round on Codeforces. And even more... No, wait, the checker for the problem was alright, that's a mercy.
Input
The only line of the input contains an integer between 1 and 5, inclusive. All tests for this problem are different. The contents of the test case doesn't need to be equal to its index.
Output
The only line of the output contains an integer between 1 and 3, inclusive.
Examples
Note
This problem has no samples, since there so few test cases.


//想知道答案的可以拉到末尾




CodeForces2014年愚人节专场,题目意思说很简单,输入数字范围为1-5
输入一个数字以后输出一个答案1-3;
这的数据范围很小,而且对应关系未知,那么我们可以Rand以下测试以下人品。


这场题目满有意思,这个题目在CodeForces上,可以从看到测试数据,其实可以一组一组测试,推进下去。
这个组合方案有3^5中,还是比较考验人品。


我一开始用Rand写的随机数,过了3组样例,又交了几组,走的最远也只是在第四组WA
代码比较简单,就不放了

















输入的5个数字分别对应1 2 3 2 1;
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值