結果

問題 No.1168 Digit Sum Sequence
ユーザー DrqYutoDrqYuto
提出日時 2020-11-17 17:47:05
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 61 bytes
コンパイル時間 430 ms
コンパイル使用メモリ 11,512 KB
実行使用メモリ 15,352 KB
最終ジャッジ日時 2023-09-30 14:20:03
合計ジャッジ時間 4,904 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 88 ms
15,224 KB
testcase_01 AC 83 ms
15,296 KB
testcase_02 AC 82 ms
15,260 KB
testcase_03 AC 83 ms
15,164 KB
testcase_04 AC 82 ms
15,200 KB
testcase_05 AC 81 ms
15,040 KB
testcase_06 AC 82 ms
15,172 KB
testcase_07 AC 82 ms
15,048 KB
testcase_08 AC 82 ms
15,132 KB
testcase_09 AC 83 ms
15,048 KB
testcase_10 AC 83 ms
15,152 KB
testcase_11 AC 83 ms
15,048 KB
testcase_12 AC 82 ms
15,036 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 81 ms
15,160 KB
testcase_18 AC 81 ms
15,272 KB
testcase_19 AC 87 ms
15,308 KB
testcase_20 AC 82 ms
15,280 KB
testcase_21 AC 82 ms
15,352 KB
testcase_22 AC 82 ms
15,312 KB
testcase_23 AC 82 ms
15,032 KB
testcase_24 AC 80 ms
15,044 KB
testcase_25 AC 81 ms
15,216 KB
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 AC 81 ms
15,152 KB
testcase_30 AC 84 ms
15,320 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

p gets.to_s.chars.map(&:to_i).sum.to_s.chars.map(&:to_i).sum
0