結果

問題 No.1346 Rectangle
ユーザー 👑 rin204rin204
提出日時 2022-04-16 17:45:10
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 73 ms / 2,000 ms
コード長 178 bytes
コンパイル時間 293 ms
コンパイル使用メモリ 86,892 KB
実行使用メモリ 71,436 KB
最終ジャッジ日時 2023-08-26 19:58:07
合計ジャッジ時間 2,912 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,360 KB
testcase_01 AC 70 ms
71,320 KB
testcase_02 AC 69 ms
71,132 KB
testcase_03 AC 73 ms
71,248 KB
testcase_04 AC 70 ms
71,376 KB
testcase_05 AC 70 ms
71,256 KB
testcase_06 AC 70 ms
71,180 KB
testcase_07 AC 70 ms
71,268 KB
testcase_08 AC 69 ms
71,364 KB
testcase_09 AC 69 ms
71,176 KB
testcase_10 AC 68 ms
71,428 KB
testcase_11 AC 68 ms
71,332 KB
testcase_12 AC 69 ms
71,428 KB
testcase_13 AC 70 ms
71,420 KB
testcase_14 AC 69 ms
71,252 KB
testcase_15 AC 69 ms
71,340 KB
testcase_16 AC 68 ms
71,392 KB
testcase_17 AC 69 ms
71,436 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

"""
1001
0011
0110
1100
1010
0101

001
010
100
110
101
011
"""
n = int(input())
if n <= 2:
    print("INF")
elif n <= 4:
    print(6)
elif n <= 6:
    print(4)
else:
    print(2)
0