結果

問題 No.522 Make Test Cases(テストケースを作る)
ユーザー rlangevinrlangevin
提出日時 2023-02-03 08:55:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 444 ms / 2,000 ms
コード長 137 bytes
コンパイル時間 541 ms
コンパイル使用メモリ 87,076 KB
実行使用メモリ 83,732 KB
最終ジャッジ日時 2023-09-15 09:11:33
合計ジャッジ時間 4,060 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 96 ms
77,180 KB
testcase_01 AC 106 ms
77,588 KB
testcase_02 AC 102 ms
77,288 KB
testcase_03 AC 117 ms
77,676 KB
testcase_04 AC 72 ms
71,204 KB
testcase_05 AC 72 ms
71,464 KB
testcase_06 AC 72 ms
70,916 KB
testcase_07 AC 77 ms
75,504 KB
testcase_08 AC 93 ms
76,716 KB
testcase_09 AC 111 ms
77,760 KB
testcase_10 AC 444 ms
83,732 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
for a in range(1, N):
    for b in range(a, N):
        c = N - a - b
        if b <= c <= N:
            print(a, b, c)
0