結果

問題 No.1346 Rectangle
ユーザー KudeKude
提出日時 2021-01-16 17:38:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 153 bytes
コンパイル時間 2,271 ms
コンパイル使用メモリ 81,956 KB
実行使用メモリ 53,296 KB
最終ジャッジ日時 2024-04-10 01:46:08
合計ジャッジ時間 1,707 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
52,376 KB
testcase_01 AC 39 ms
52,116 KB
testcase_02 AC 38 ms
51,696 KB
testcase_03 AC 39 ms
52,816 KB
testcase_04 AC 38 ms
52,604 KB
testcase_05 AC 38 ms
53,252 KB
testcase_06 AC 38 ms
52,180 KB
testcase_07 AC 38 ms
52,176 KB
testcase_08 AC 38 ms
52,336 KB
testcase_09 AC 38 ms
52,432 KB
testcase_10 AC 38 ms
52,340 KB
testcase_11 AC 39 ms
53,296 KB
testcase_12 AC 39 ms
53,256 KB
testcase_13 AC 39 ms
51,936 KB
testcase_14 AC 39 ms
52,072 KB
testcase_15 AC 39 ms
52,296 KB
testcase_16 AC 39 ms
53,160 KB
testcase_17 AC 38 ms
52,840 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
ans = (
    'INF' if n <= 2 else
    6 if n == 3 else
    6 if n == 4 else
    4 if n <= 6 else
    #3 if n <= 9 else
    2
)
print(ans)
0