Submission #2704402


Source Code Expand

Copy
use v6;

my int $n = +get;
my int @cs = do +get for ^$n;
@cs.race(batch => $n / 4).map(-> $x {
  my int $divs = -1;
  $divs++ if $x %% $_ for @cs;
  (($divs div 2 + 1) / ($divs + 1)).Num
}).sum.say;

Submission Info

Submission Time
Task C - コイン
User C01L
Language Perl6 (rakudo-star 2016.01)
Score 0
Code Size 208 Byte
Status TLE
Exec Time 2121 ms
Memory 162024 KB

Judge Result

Set Name Sample Subtask1 Subtask2
Score / Max Score 0 / 0 0 / 99 0 / 1
Status
AC × 2
TLE × 1
AC × 19
TLE × 1
AC × 39
TLE × 1
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
Subtask1 subtask1_01.txt, subtask1_02.txt, subtask1_03.txt, subtask1_04.txt, subtask1_05.txt, subtask1_06.txt, subtask1_07.txt, subtask1_08.txt, subtask1_09.txt, subtask1_10.txt, subtask1_11.txt, subtask1_12.txt, subtask1_13.txt, subtask1_14.txt, subtask1_15.txt, subtask1_16.txt, subtask1_17.txt, subtask1_18.txt, subtask1_19.txt, subtask1_20.txt
Subtask2 subtask1_01.txt, subtask1_02.txt, subtask1_03.txt, subtask1_04.txt, subtask1_05.txt, subtask1_06.txt, subtask1_07.txt, subtask1_08.txt, subtask1_09.txt, subtask1_10.txt, subtask1_11.txt, subtask1_12.txt, subtask1_13.txt, subtask1_14.txt, subtask1_15.txt, subtask1_16.txt, subtask1_17.txt, subtask1_18.txt, subtask1_19.txt, subtask1_20.txt, subtask2_01.txt, subtask2_02.txt, subtask2_03.txt, subtask2_04.txt, subtask2_05.txt, subtask2_06.txt, subtask2_07.txt, subtask2_08.txt, subtask2_09.txt, subtask2_10.txt, subtask2_11.txt, subtask2_12.txt, subtask2_13.txt, subtask2_14.txt, subtask2_15.txt, subtask2_16.txt, subtask2_17.txt, subtask2_18.txt, subtask2_19.txt, subtask2_20.txt
Case Name Status Exec Time Memory
sample_01.txt TLE 2121 ms 162024 KB
sample_02.txt AC 291 ms 69204 KB
sample_03.txt AC 275 ms 69200 KB
subtask1_01.txt TLE 2121 ms 160556 KB
subtask1_02.txt AC 276 ms 69204 KB
subtask1_03.txt AC 280 ms 69200 KB
subtask1_04.txt AC 279 ms 73300 KB
subtask1_05.txt AC 280 ms 71252 KB
subtask1_06.txt AC 279 ms 73424 KB
subtask1_07.txt AC 281 ms 69200 KB
subtask1_08.txt AC 284 ms 71248 KB
subtask1_09.txt AC 284 ms 71248 KB
subtask1_10.txt AC 279 ms 69204 KB
subtask1_11.txt AC 280 ms 75348 KB
subtask1_12.txt AC 281 ms 69204 KB
subtask1_13.txt AC 277 ms 69076 KB
subtask1_14.txt AC 277 ms 69200 KB
subtask1_15.txt AC 277 ms 73300 KB
subtask1_16.txt AC 277 ms 71380 KB
subtask1_17.txt AC 280 ms 69200 KB
subtask1_18.txt AC 278 ms 71376 KB
subtask1_19.txt AC 278 ms 69200 KB
subtask1_20.txt AC 279 ms 73300 KB
subtask2_01.txt AC 286 ms 73424 KB
subtask2_02.txt AC 284 ms 69840 KB
subtask2_03.txt AC 290 ms 71892 KB
subtask2_04.txt AC 315 ms 72624 KB
subtask2_05.txt AC 424 ms 81684 KB
subtask2_06.txt AC 382 ms 85836 KB
subtask2_07.txt AC 351 ms 77312 KB
subtask2_08.txt AC 417 ms 81656 KB
subtask2_09.txt AC 435 ms 83844 KB
subtask2_10.txt AC 423 ms 83716 KB
subtask2_11.txt AC 420 ms 84080 KB
subtask2_12.txt AC 441 ms 83988 KB
subtask2_13.txt AC 334 ms 75788 KB
subtask2_14.txt AC 420 ms 83728 KB
subtask2_15.txt AC 424 ms 83964 KB
subtask2_16.txt AC 417 ms 82000 KB
subtask2_17.txt AC 411 ms 84252 KB
subtask2_18.txt AC 337 ms 77568 KB
subtask2_19.txt AC 417 ms 83692 KB
subtask2_20.txt AC 448 ms 83224 KB