結果

問題 No.522 Make Test Cases(テストケースを作る)
ユーザー kohei2019kohei2019
提出日時 2022-02-06 16:40:46
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 481 ms / 2,000 ms
コード長 129 bytes
コンパイル時間 1,814 ms
コンパイル使用メモリ 84,300 KB
実行使用メモリ 83,492 KB
最終ジャッジ日時 2023-09-02 07:00:50
合計ジャッジ時間 7,090 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 102 ms
77,356 KB
testcase_01 AC 120 ms
77,444 KB
testcase_02 AC 112 ms
77,324 KB
testcase_03 AC 133 ms
77,652 KB
testcase_04 AC 81 ms
71,064 KB
testcase_05 AC 79 ms
71,172 KB
testcase_06 AC 76 ms
71,248 KB
testcase_07 AC 84 ms
76,024 KB
testcase_08 AC 101 ms
76,500 KB
testcase_09 AC 118 ms
77,316 KB
testcase_10 AC 481 ms
83,492 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

for i in range(1,N+1):
    for j in range(i,N+1):
        k = N-i-j
        if k >= j:
            print(i,j,k)
0