Блог пользователя amlelephant_fan

Автор amlelephant_fan, история, 10 месяцев назад, По-английски

Hi y'all, I got AC on today's D 1870D - Покупка префиксов by a way different from the tutorial. I think my solution was very cheesy and am looking for a hack testcase that can WA/TL my solution here 223910585!

Thanks in advance!

  • Проголосовать: нравится
  • +4
  • Проголосовать: не нравится

»
10 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

try this tc :]

11
1
1
1
2
2 3
5
3
6 8 9
23
4
24 30 32 33
119
5
120 144 150 152 153
719
6
720 840 864 870 872 873
5039
7
5040 5760 5880 5904 5910 5912 5913
40319
8
40320 45360 46080 46200 46224 46230 46232 46233
362879
9
362880 403200 408240 408960 409080 409104 409110 409112 409113
3628799
10
3628800 3991680 4032000 4037040 4037760 4037880 4037904 4037910 4037912 4037913
39916799
11
39916800 43545600 43908480 43948800 43953840 43954560 43954680 43954704 43954710 43954712 43954713 
479001599

  • »
    »
    10 месяцев назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    in fact, if you do your cheesy solution with 12 times instead of 5 times, it's probably gonna AC in all testcases

»
10 месяцев назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

why is this solution hacked by awoo but its verdict still "Accepted"?

  • »
    »
    10 месяцев назад, # ^ |
      Проголосовать: нравится +3 Проголосовать: не нравится

    The submission was hacked after the contest. Div.1 and Div.2 round don't have an open hacking phase and thus, this hack made after the contest does not change the verdict.