結果
問題 | No.661 ハローキティはりんご3個分 |
ユーザー | sanfrecce-osaka |
提出日時 | 2022-04-01 20:04:15 |
言語 | Ruby (3.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 255 bytes |
コンパイル時間 | 440 ms |
コンパイル使用メモリ | 11,208 KB |
実行使用メモリ | 15,172 KB |
最終ジャッジ日時 | 2023-08-12 16:17:03 |
合計ジャッジ時間 | 1,996 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 82 ms
15,096 KB |
testcase_01 | WA | - |
testcase_02 | AC | 80 ms
15,148 KB |
testcase_03 | AC | 79 ms
15,132 KB |
testcase_04 | AC | 79 ms
15,172 KB |
コンパイルメッセージ
Syntax OK
ソースコード
gets.chomp.to_i.times.map { gets.chomp.to_i }.map do case _1 in -> (n) { n % 80 == 0 } then 'ikisugi' in -> (n) { n % 10 == 0 } then 'sugi' in -> (n) { n % 8 == 0 } then 'iki' else _1 / 3 end end.then(&method(:puts))