結果

問題 No.443 GCD of Permutation
ユーザー hogeover30hogeover30
提出日時 2017-01-26 08:43:39
言語 Ruby
(3.3.0)
結果
TLE  
実行時間 -
コード長 62 bytes
コンパイル時間 66 ms
コンパイル使用メモリ 11,448 KB
実行使用メモリ 20,156 KB
最終ジャッジ日時 2023-08-24 23:17:50
合計ジャッジ時間 4,258 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
19,648 KB
testcase_01 AC 83 ms
15,244 KB
testcase_02 AC 81 ms
15,168 KB
testcase_03 AC 78 ms
15,048 KB
testcase_04 AC 78 ms
15,208 KB
testcase_05 AC 79 ms
15,116 KB
testcase_06 AC 78 ms
15,104 KB
testcase_07 AC 78 ms
15,124 KB
testcase_08 AC 80 ms
15,108 KB
testcase_09 AC 79 ms
15,144 KB
testcase_10 AC 79 ms
15,124 KB
testcase_11 AC 82 ms
15,264 KB
testcase_12 AC 79 ms
15,124 KB
testcase_13 AC 78 ms
15,216 KB
testcase_14 TLE -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
testcase_30 -- -
testcase_31 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

"#{g=gets.to_i}".bytes.permutation(2){|x,y|g=g.gcd 9*y-=x};p g
0