結果

問題 No.522 Make Test Cases(テストケースを作る)
ユーザー ronpooronpoo
提出日時 2023-08-29 13:02:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 398 ms / 2,000 ms
コード長 111 bytes
コンパイル時間 673 ms
コンパイル使用メモリ 87,100 KB
実行使用メモリ 82,736 KB
最終ジャッジ日時 2023-08-29 13:02:11
合計ジャッジ時間 7,210 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 87 ms
76,628 KB
testcase_01 AC 124 ms
77,528 KB
testcase_02 AC 95 ms
77,404 KB
testcase_03 AC 110 ms
77,676 KB
testcase_04 AC 69 ms
71,164 KB
testcase_05 AC 69 ms
71,228 KB
testcase_06 AC 69 ms
71,104 KB
testcase_07 AC 70 ms
71,192 KB
testcase_08 AC 86 ms
76,632 KB
testcase_09 AC 103 ms
77,228 KB
testcase_10 AC 398 ms
82,736 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

for a in range(1, N-1):
    for b in range(a, (N-a+2)//2):       
        print(a, b, N-a-b)
0