結果

問題 No.522 Make Test Cases(テストケースを作る)
ユーザー DrDrpilotDrDrpilot
提出日時 2022-06-21 18:19:02
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 338 ms / 2,000 ms
コード長 128 bytes
コンパイル時間 836 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 81,188 KB
最終ジャッジ日時 2024-04-22 13:07:52
合計ジャッジ時間 5,256 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
72,320 KB
testcase_01 AC 79 ms
76,032 KB
testcase_02 AC 77 ms
76,416 KB
testcase_03 AC 92 ms
76,544 KB
testcase_04 AC 37 ms
51,968 KB
testcase_05 AC 35 ms
51,712 KB
testcase_06 AC 36 ms
51,712 KB
testcase_07 AC 45 ms
58,752 KB
testcase_08 AC 62 ms
67,584 KB
testcase_09 AC 83 ms
75,904 KB
testcase_10 AC 338 ms
81,188 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
for i in range(1,n+1):
    for j in range(i,n+1):
        rem=n-i-j
        if rem>=j:
            print(i,j,rem)
0