結果

問題 No.244 ★1のグラフの問題
ユーザー ABKZABKZ
提出日時 2021-06-16 11:14:33
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 69 ms / 2,000 ms
コード長 190 bytes
コンパイル時間 245 ms
コンパイル使用メモリ 87,204 KB
実行使用メモリ 71,604 KB
最終ジャッジ日時 2023-08-28 17:56:11
合計ジャッジ時間 1,586 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,212 KB
testcase_01 AC 69 ms
71,356 KB
testcase_02 AC 68 ms
71,356 KB
testcase_03 AC 66 ms
71,604 KB
testcase_04 AC 66 ms
71,420 KB
testcase_05 AC 68 ms
71,588 KB
testcase_06 AC 67 ms
71,208 KB
testcase_07 AC 66 ms
71,480 KB
testcase_08 AC 67 ms
71,160 KB
testcase_09 AC 66 ms
71,220 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

# N = 2 の時必要な辺の本数は1。
# N を +1 したとき、1本増やすだけでよい。
# 帰納法できちんと証明できる……はず。
print(N - 1)
0