結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
52,140 KB
testcase_01 AC 35 ms
52,244 KB
testcase_02 AC 34 ms
52,420 KB
testcase_03 AC 33 ms
52,284 KB
testcase_04 AC 34 ms
52,948 KB
testcase_05 AC 33 ms
53,340 KB
testcase_06 AC 34 ms
52,900 KB
testcase_07 AC 34 ms
51,960 KB
testcase_08 AC 34 ms
52,956 KB
testcase_09 AC 34 ms
51,820 KB
testcase_10 AC 37 ms
51,812 KB
testcase_11 AC 35 ms
52,484 KB
testcase_12 AC 35 ms
53,152 KB
testcase_13 AC 35 ms
51,884 KB
testcase_14 AC 35 ms
52,324 KB
testcase_15 AC 34 ms
51,996 KB
testcase_16 AC 34 ms
52,412 KB
testcase_17 AC 34 ms
52,000 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
if N>6:
  print(2)
elif N==2:
  print('INF')
elif N==3:
  print(6)
else:
  X=[0,0,0,0,6,4,4]
  print(X[N])
0