結果

問題 No.587 七対子
ユーザー masaktmasakt
提出日時 2017-11-03 23:50:36
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 113 bytes
コンパイル時間 75 ms
コンパイル使用メモリ 11,284 KB
実行使用メモリ 15,380 KB
最終ジャッジ日時 2023-08-15 09:10:55
合計ジャッジ時間 3,948 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 71 ms
15,184 KB
testcase_02 AC 72 ms
15,048 KB
testcase_03 AC 69 ms
15,040 KB
testcase_04 AC 70 ms
15,292 KB
testcase_05 WA -
testcase_06 AC 74 ms
15,172 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 74 ms
15,052 KB
testcase_11 WA -
testcase_12 AC 69 ms
15,244 KB
testcase_13 AC 70 ms
15,140 KB
testcase_14 AC 69 ms
15,132 KB
testcase_15 AC 69 ms
15,244 KB
testcase_16 WA -
testcase_17 AC 70 ms
15,304 KB
testcase_18 AC 70 ms
15,380 KB
testcase_19 AC 71 ms
15,088 KB
testcase_20 AC 70 ms
15,088 KB
testcase_21 AC 69 ms
15,080 KB
testcase_22 AC 68 ms
15,160 KB
testcase_23 AC 70 ms
15,040 KB
testcase_24 AC 72 ms
15,352 KB
testcase_25 AC 70 ms
15,144 KB
testcase_26 AC 70 ms
15,088 KB
testcase_27 AC 75 ms
15,260 KB
testcase_28 WA -
testcase_29 AC 69 ms
15,136 KB
testcase_30 WA -
testcase_31 AC 69 ms
15,148 KB
testcase_32 AC 68 ms
15,160 KB
testcase_33 WA -
testcase_34 AC 68 ms
15,300 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a=gets.chop.chars.sort;n=a.uniq.size;5<n&&n<8&&(0.step(13,2){|i|a[i]!=a[i+1]&&(puts a[i];exit)});puts"Impossible"
0