結果
| 問題 |
No.1903 Day1
|
| コンテスト | |
| ユーザー |
horiesiniti
|
| 提出日時 | 2022-12-27 19:35:52 |
| 言語 | Ruby (3.4.1) |
| 結果 |
AC
|
| 実行時間 | 93 ms / 1,000 ms |
| コード長 | 70 bytes |
| コンパイル時間 | 263 ms |
| コンパイル使用メモリ | 7,552 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-11-22 05:45:17 |
| 合計ジャッジ時間 | 1,838 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 8 |
コンパイルメッセージ
Syntax OK
ソースコード
def f(n) if n<7 then puts n else puts (n-6)*6+n end end f(gets.to_i)
horiesiniti