結果

問題 No.2297 Best Grouping
ユーザー V_MelvilleV_Melville
提出日時 2023-05-12 21:32:11
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 69 ms / 2,000 ms
コード長 89 bytes
コンパイル時間 282 ms
コンパイル使用メモリ 87,236 KB
実行使用メモリ 71,572 KB
最終ジャッジ日時 2023-08-19 04:00:04
合計ジャッジ時間 3,163 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
71,392 KB
testcase_01 AC 62 ms
71,108 KB
testcase_02 AC 62 ms
71,236 KB
testcase_03 AC 64 ms
71,108 KB
testcase_04 AC 62 ms
71,332 KB
testcase_05 AC 69 ms
71,332 KB
testcase_06 AC 65 ms
71,216 KB
testcase_07 AC 65 ms
71,260 KB
testcase_08 AC 63 ms
71,324 KB
testcase_09 AC 65 ms
71,384 KB
testcase_10 AC 64 ms
71,128 KB
testcase_11 AC 65 ms
71,216 KB
testcase_12 AC 64 ms
71,244 KB
testcase_13 AC 62 ms
71,352 KB
testcase_14 AC 62 ms
71,244 KB
testcase_15 AC 61 ms
71,336 KB
testcase_16 AC 63 ms
71,432 KB
testcase_17 AC 64 ms
71,128 KB
testcase_18 AC 62 ms
71,572 KB
testcase_19 AC 65 ms
71,336 KB
testcase_20 AC 63 ms
71,256 KB
testcase_21 AC 64 ms
71,256 KB
testcase_22 AC 64 ms
71,256 KB
testcase_23 AC 63 ms
71,056 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
r = n%3
ans = 0
if r == 2:
    ans = 1
if r == 1:
    ans = 2
print(ans)
0