結果
| 問題 |
No.2297 Best Grouping
|
| コンテスト | |
| ユーザー |
bk_cocoa
|
| 提出日時 | 2023-05-12 21:23:54 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 2,000 ms |
| コード長 | 114 bytes |
| コンパイル時間 | 352 ms |
| コンパイル使用メモリ | 82,564 KB |
| 実行使用メモリ | 53,676 KB |
| 最終ジャッジ日時 | 2024-11-28 17:11:37 |
| 合計ジャッジ時間 | 2,037 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 20 |
ソースコード
N = int(input())
N %= 3
ans = 0
if N == 0:
ans = 0
if N == 1:
ans = 2
if N == 2:
ans = 1
print(ans)
bk_cocoa