結果
| 問題 |
No.656 ゴルフ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-03-06 18:22:23 |
| 言語 | Ruby (3.4.1) |
| 結果 |
AC
|
| 実行時間 | 95 ms / 2,000 ms |
| コード長 | 128 bytes |
| コンパイル時間 | 77 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-09-19 19:33:45 |
| 合計ジャッジ時間 | 1,662 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 6 |
コンパイルメッセージ
Syntax OK
ソースコード
number=gets; n=0; for i in 0..8 do m=number[i].to_i; if m==0 then m=10; end gokei= n+m; n=gokei; end print(gokei);