結果
| 問題 |
No.2297 Best Grouping
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-05-12 22:02:21 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 34 ms / 2,000 ms |
| コード長 | 98 bytes |
| コンパイル時間 | 280 ms |
| コンパイル使用メモリ | 82,160 KB |
| 実行使用メモリ | 53,316 KB |
| 最終ジャッジ日時 | 2024-11-28 18:24:42 |
| 合計ジャッジ時間 | 1,926 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 20 |
ソースコード
n =int(input()) q = n // 3 r = n % 3 if r == 0: print(0) elif r == 1: print(2) else: print(1)