結果

問題 No.443 GCD of Permutation
ユーザー yuruhiyayuruhiya
提出日時 2021-01-24 18:10:23
言語 Raku
(rakudo v2024.02)
結果
AC  
実行時間 409 ms / 1,000 ms
コード長 66 bytes
コンパイル時間 581 ms
コンパイル使用メモリ 122,368 KB
実行使用メモリ 132,648 KB
最終ジャッジ日時 2023-09-01 03:53:21
合計ジャッジ時間 15,990 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 346 ms
132,352 KB
testcase_01 AC 338 ms
132,232 KB
testcase_02 AC 340 ms
132,196 KB
testcase_03 AC 339 ms
132,168 KB
testcase_04 AC 338 ms
132,192 KB
testcase_05 AC 334 ms
132,220 KB
testcase_06 AC 338 ms
132,220 KB
testcase_07 AC 346 ms
132,404 KB
testcase_08 AC 347 ms
132,352 KB
testcase_09 AC 339 ms
132,200 KB
testcase_10 AC 348 ms
132,252 KB
testcase_11 AC 344 ms
132,176 KB
testcase_12 AC 341 ms
132,464 KB
testcase_13 AC 335 ms
132,392 KB
testcase_14 AC 409 ms
132,284 KB
testcase_15 AC 357 ms
132,568 KB
testcase_16 AC 358 ms
132,356 KB
testcase_17 AC 352 ms
132,240 KB
testcase_18 AC 374 ms
132,344 KB
testcase_19 AC 373 ms
132,436 KB
testcase_20 AC 384 ms
132,548 KB
testcase_21 AC 375 ms
132,648 KB
testcase_22 AC 356 ms
132,064 KB
testcase_23 AC 359 ms
132,280 KB
testcase_24 AC 355 ms
132,256 KB
testcase_25 AC 384 ms
132,320 KB
testcase_26 AC 376 ms
132,408 KB
testcase_27 AC 362 ms
132,544 KB
testcase_28 AC 375 ms
132,500 KB
testcase_29 AC 394 ms
132,472 KB
testcase_30 AC 381 ms
132,420 KB
testcase_31 AC 399 ms
132,640 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

$!=get;my @a=$!.comb.unique;map {$! gcd=9*[-] $_},(@a X @a);say $!
0