結果
| 問題 |
No.2297 Best Grouping
|
| コンテスト | |
| ユーザー |
horiesiniti
|
| 提出日時 | 2023-05-12 21:57:11 |
| 言語 | Ruby (3.4.1) |
| 結果 |
AC
|
| 実行時間 | 83 ms / 2,000 ms |
| コード長 | 67 bytes |
| コンパイル時間 | 696 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-11-28 18:12:51 |
| 合計ジャッジ時間 | 2,742 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 20 |
コンパイルメッセージ
Syntax OK
ソースコード
n=gets.to_i%3 a=0 if n==1 then a=2 elsif n==2 then a=1 end puts a
horiesiniti