讨论 / 神.登山机器人攻克只是早晚的事!
破神题 2012-05-29 22:33:00
点我顶贴 收藏 删除
看看吧!

神。登山机器人只不过是4组数据弄混淆而已!

(本程序运用骗数据手法,但是本题数据本来就有问题,还请管理员原谅)

var i,j,n,m:longint;

a:array[0..10000] of string;

begin

randomize;

j:=random(2);

readln(i);

n:=random(2);

if (n=0)and(i=3100000) then i:=2;

if (n=1)and(i=3100000) then i:=8;

if i=2100000 then i:=1;

if i=9100000 then i:=3;

if i=10100000 then i:=4;

if i=99100000 then i:=5;

if i=69100000 then i:=j+6;

if i=10100000 then i:=9;

if i=99100000 then i:=10;

a[1]:='9674.15';

a[2]:='3361.11';

a[3]:='311066.90';

a[4]:='178117.68';

a[5]:='140726.84';

a[6]:='753362.60';

a[7]:='140726.84';

a[8]:='753362.60';

a[9]:='3361.11';

a[10]:='178117.68';

writeln(a[i]);

end.

随机函数我爱你!

-----------------------------------------------------------

虽然我现在还尚未攻克成功……

-----------------------------------------------------------

为了援助我攻克此题,麻烦一些高人把他们的60分程序发上来一下。

-----------------------------------------------------------

4分之一的概率,赌一把!

#1 desprado2@2012-04-25 05:40:00
回复 删除
祝你好运!

呃~你以为我没想过cheat?

什么方法都试过,呃。

#2 破神题@2012-04-27 23:16:00
回复 删除
这是肿么回事?

测试结果1:

测试结果2:

测试结果3:

测试结果4: 通过本测试点|有效耗时156ms

测试结果5:

测试结果6:

测试结果7:

测试结果8:

测试结果9:

测试结果10:

提交代码:

view sourceprint?

01.

var i,j,n,m,dhqbz,shq:longint;

02.

a:array[0..10000] of string;

03.

begin

04.

randomize;

05.

j:=random(2);

06.

readln(i);

07.

n:=random(2);

08.

if (n=0)and(i=3100000) then i:=2;

09.

if (n=1)and(i=3100000) then i:=8;

10.

if i=2100000 then i:=1;

11.

if i=9100000 then i:=3;

12.

if i=10100000 then i:=4;

13.

if i=99100000 then i:=5;

14.

if i=69100000 then i:=j+6;

15.

if i=10100000 then i:=9;

16.

if i=99100000 then i:=10;

17.

a[1]:='9674.15';

18.

a[2]:='3361.11';

19.

a[3]:='311066.90';

20.

a[4]:='178117.68';

21.

a[5]:='140726.84';

22.

a[6]:='753362.60';

23.

a[7]:='140726.84';

24.

a[8]:='753362.60';

25.

a[9]:='3361.11';

26.

a[10]:='178117.68';

27.

writeln(a[i]);

28.

end.

#3 破神题@2012-04-27 23:16:00
回复 删除
这是要拼rp的呀!

大家祝我rp++吧!!!!

#4 desprado2@2012-04-29 19:56:00
回复 删除
- -|||

RP++

#5 Satle@2012-05-01 18:46:00
回复 删除
60分的程序应该是AC的

测试结果1: 通过本测试点|有效耗时172ms

测试结果2: 通过本测试点|有效耗时156ms

测试结果3: 通过本测试点|有效耗时157ms

测试结果4: 通过本测试点|有效耗时156ms

测试结果5: 通过本测试点|有效耗时156ms

测试结果6: 通过本测试点|有效耗时156ms

测试结果7: 测试结果错误.错误结果为:753362.60

正确结果应为:140726.84

测试结果8: 测试结果错误.错误结果为:3361.11

正确结果应为:753362.60

测试结果9: 测试结果错误.错误结果为:178117.68

正确结果应为:3361.11

测试结果10: 测试结果错误.错误结果为:140726.84

正确结果应为:178117.68

我惊奇的发现:

测试点7的错误答案 对应测试点8的正确答案

测试点8的错误答案 对应测试点9的正确答案

测试点9的错误答案 对应测试点10的正确答案

测试点10的错误答案 对应测试点6的正确答案

由此可以认为后面几组数据匹配的时候弄错了。

#6 Satle@2012-05-01 19:05:00
回复 删除
AC只能消耗RP

经过我的尝试,可以明确的告诉你:

7、8、9、10数据和6、2、4、5的输入数据完全一样,但是输出数据不一样。

因此想AC的话,有(0.5)^4*100%=6.25%的概率。

#7 wangzeyukk@2012-05-02 06:07:00
回复 删除

#8 995541152@2012-05-29 22:33:00
回复 删除
洒洒分+RP吧= =

看别人攒RP都洒分,你去洒洒说不定RP会level up

查看更多回复
提交回复