結果
問題 | No.443 GCD of Permutation |
ユーザー | tubo28 |
提出日時 | 2016-11-17 18:46:35 |
言語 | Ruby (3.3.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 76 bytes |
コンパイル時間 | 327 ms |
コンパイル使用メモリ | 11,200 KB |
実行使用メモリ | 72,892 KB |
最終ジャッジ日時 | 2023-08-17 08:05:39 |
合計ジャッジ時間 | 5,448 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge13 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 82 ms
15,228 KB |
testcase_01 | AC | 84 ms
15,152 KB |
testcase_02 | AC | 84 ms
15,292 KB |
testcase_03 | AC | 85 ms
15,128 KB |
testcase_04 | AC | 83 ms
15,036 KB |
testcase_05 | AC | 85 ms
15,120 KB |
testcase_06 | AC | 85 ms
15,244 KB |
testcase_07 | AC | 83 ms
15,224 KB |
testcase_08 | AC | 83 ms
15,152 KB |
testcase_09 | AC | 85 ms
15,176 KB |
testcase_10 | AC | 82 ms
15,084 KB |
testcase_11 | AC | 83 ms
15,316 KB |
testcase_12 | AC | 82 ms
15,320 KB |
testcase_13 | AC | 83 ms
15,152 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
ソースコード
(d=(g=gets.to_i).to_s.chars).map{|x|d.map{|y|g=g.gcd 9*(x.to_i-y.to_i)}};p g