結果

問題 No.522 Make Test Cases(テストケースを作る)
ユーザー mlihua09mlihua09
提出日時 2020-09-16 03:46:59
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 380 ms / 2,000 ms
コード長 136 bytes
コンパイル時間 344 ms
コンパイル使用メモリ 87,252 KB
実行使用メモリ 82,724 KB
最終ジャッジ日時 2023-09-04 03:17:12
合計ジャッジ時間 4,695 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
76,720 KB
testcase_01 AC 99 ms
77,408 KB
testcase_02 AC 97 ms
77,136 KB
testcase_03 AC 114 ms
77,604 KB
testcase_04 AC 71 ms
71,296 KB
testcase_05 AC 69 ms
70,968 KB
testcase_06 AC 70 ms
71,376 KB
testcase_07 AC 71 ms
71,284 KB
testcase_08 AC 86 ms
76,396 KB
testcase_09 AC 104 ms
77,580 KB
testcase_10 AC 380 ms
82,724 KB
権限があれば一括ダウンロードができます

ソースコード

diff #


N = int(input())

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