結果

問題 No.1346 Rectangle
ユーザー hir355hir355
提出日時 2021-01-16 13:55:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 37 ms / 2,000 ms
コード長 178 bytes
コンパイル時間 159 ms
コンパイル使用メモリ 82,436 KB
実行使用メモリ 53,644 KB
最終ジャッジ日時 2024-04-10 01:34:42
合計ジャッジ時間 1,515 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
52,864 KB
testcase_01 AC 37 ms
52,628 KB
testcase_02 AC 34 ms
51,820 KB
testcase_03 AC 35 ms
51,952 KB
testcase_04 AC 35 ms
53,644 KB
testcase_05 AC 35 ms
52,484 KB
testcase_06 AC 35 ms
52,392 KB
testcase_07 AC 34 ms
52,836 KB
testcase_08 AC 35 ms
53,148 KB
testcase_09 AC 35 ms
52,072 KB
testcase_10 AC 35 ms
52,700 KB
testcase_11 AC 35 ms
52,284 KB
testcase_12 AC 34 ms
53,152 KB
testcase_13 AC 35 ms
52,980 KB
testcase_14 AC 33 ms
52,280 KB
testcase_15 AC 33 ms
52,236 KB
testcase_16 AC 33 ms
51,904 KB
testcase_17 AC 33 ms
52,800 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
if n == 1 or n == 2:
    print('INF')
elif n == 3:
    print(6)
elif n == 4:
    print(6)
elif n == 5:
    print(4)
elif n == 6:
    print(4)
else:
    print(2)
0