結果

問題 No.1346 Rectangle
ユーザー convexineqconvexineq
提出日時 2021-01-16 14:20:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 140 bytes
コンパイル時間 160 ms
コンパイル使用メモリ 82,184 KB
実行使用メモリ 53,564 KB
最終ジャッジ日時 2024-04-10 01:35:43
合計ジャッジ時間 1,649 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
52,836 KB
testcase_01 AC 38 ms
53,304 KB
testcase_02 AC 38 ms
51,552 KB
testcase_03 AC 38 ms
53,080 KB
testcase_04 AC 38 ms
51,944 KB
testcase_05 AC 38 ms
52,728 KB
testcase_06 AC 38 ms
52,216 KB
testcase_07 AC 38 ms
53,352 KB
testcase_08 AC 39 ms
53,552 KB
testcase_09 AC 38 ms
52,280 KB
testcase_10 AC 38 ms
52,984 KB
testcase_11 AC 39 ms
53,564 KB
testcase_12 AC 40 ms
52,828 KB
testcase_13 AC 38 ms
52,424 KB
testcase_14 AC 38 ms
52,208 KB
testcase_15 AC 38 ms
52,296 KB
testcase_16 AC 39 ms
52,756 KB
testcase_17 AC 38 ms
52,160 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
if   n==2: ans = "INF"
elif n==3: ans = 6
elif n==4: ans = 6
elif n==5: ans = 4
elif n==6: ans = 4
else: ans = 2
print(ans)
0