結果

問題 No.522 Make Test Cases(テストケースを作る)
ユーザー h_noson
提出日時 2017-06-14 22:28:01
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 1,458 ms / 2,000 ms
コード長 132 bytes
コンパイル時間 332 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-09-24 23:28:06
合計ジャッジ時間 5,916 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

for i in range(1,n):
    for j in range(i,n-i):
        if j <= n-i-j:
            print("%d %d %d" % (i,j,n-i-j))
0