結果

問題 No.1362 [Zelkova 8th Tune] Black Sheep
ユーザー yuruhiyayuruhiya
提出日時 2021-01-23 15:46:04
言語 Ruby
(3.3.0)
結果
AC  
実行時間 243 ms / 1,000 ms
コード長 84 bytes
コンパイル時間 491 ms
コンパイル使用メモリ 11,108 KB
実行使用メモリ 43,184 KB
最終ジャッジ日時 2023-08-29 06:29:05
合計ジャッジ時間 8,969 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
15,116 KB
testcase_01 AC 78 ms
15,192 KB
testcase_02 AC 79 ms
15,184 KB
testcase_03 AC 78 ms
15,188 KB
testcase_04 AC 78 ms
15,092 KB
testcase_05 AC 79 ms
15,120 KB
testcase_06 AC 79 ms
15,316 KB
testcase_07 AC 78 ms
15,244 KB
testcase_08 AC 78 ms
15,076 KB
testcase_09 AC 78 ms
15,044 KB
testcase_10 AC 81 ms
15,168 KB
testcase_11 AC 81 ms
15,304 KB
testcase_12 AC 79 ms
15,204 KB
testcase_13 AC 185 ms
36,592 KB
testcase_14 AC 177 ms
34,648 KB
testcase_15 AC 95 ms
17,204 KB
testcase_16 AC 135 ms
24,752 KB
testcase_17 AC 193 ms
38,364 KB
testcase_18 AC 144 ms
27,936 KB
testcase_19 AC 232 ms
42,516 KB
testcase_20 AC 157 ms
30,628 KB
testcase_21 AC 147 ms
28,260 KB
testcase_22 AC 178 ms
35,708 KB
testcase_23 AC 240 ms
43,120 KB
testcase_24 AC 235 ms
43,156 KB
testcase_25 AC 235 ms
42,984 KB
testcase_26 AC 233 ms
43,184 KB
testcase_27 AC 237 ms
43,120 KB
testcase_28 AC 234 ms
43,120 KB
testcase_29 AC 243 ms
43,092 KB
testcase_30 AC 238 ms
43,064 KB
testcase_31 AC 234 ms
43,156 KB
testcase_32 AC 236 ms
43,112 KB
testcase_33 AC 235 ms
43,120 KB
testcase_34 AC 231 ms
43,056 KB
testcase_35 AC 76 ms
15,064 KB
testcase_36 AC 75 ms
15,056 KB
testcase_37 AC 76 ms
15,124 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

s = gets.chomp
c = s.chars.tally.find { _2 == 1 }[0]
puts [s.index(c) + 1, c] * ' '
0