myee's blog

By myee, 20 months ago, In English

As this problem has been cloned as practice for someone(include me), we found that the standard code of the author of the mashup, zaozao_zmx1, is wrong.

liqingyang has been giving us several data for hacking, which is following:

hack 1:

1
15 7
13 14
14 6
11 8
7 13
11 9
1 7
8 15
5 2
9 6
3 1
10 3
4 15
15 12
3 5

hack 2:

1
15 8
8 2
3 4
8 12
3 12
3 1
9 7
3 11
15 2
7 11
13 9
6 15
7 14
6 10
5 14

And the correct answers of them are both 5, while almost half of the submissions give out wrong answers, such as3, 4 and 6.

The wrong codes have been ignored.


Update: another hack from Minion123, whose answer should be 4.

1
15 3
8 15
3 4
10 8
11 10
12 3
8 5
13 15
4 2
14 12
15 14
6 15
8 7
9 2
8 1
  • Vote: I like it
  • +32
  • Vote: I do not like it

»
4 months ago, # |
  Vote: I like it 0 Vote: I do not like it

myee orz