結果
問題 | No.1291 小手調べ |
ユーザー | 👑 horiesiniti |
提出日時 | 2023-02-08 07:02:33 |
言語 | Ruby (3.2.2) |
結果 |
AC
|
実行時間 | 89 ms / 2,000 ms |
コード長 | 104 bytes |
コンパイル時間 | 285 ms |
コンパイル使用メモリ | 11,348 KB |
実行使用メモリ | 15,416 KB |
最終ジャッジ日時 | 2023-09-19 09:41:36 |
合計ジャッジ時間 | 1,621 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge14 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 83 ms
15,236 KB |
testcase_01 | AC | 83 ms
15,068 KB |
testcase_02 | AC | 84 ms
15,152 KB |
testcase_03 | AC | 89 ms
15,416 KB |
testcase_04 | AC | 85 ms
15,076 KB |
コンパイルメッセージ
Syntax OK
ソースコード
def f(d) if d==1 then puts 10 else puts "9"+("0"*(d-1)) end end gets.to_i.times{ f(gets.to_i) }