結果

問題 No.522 Make Test Cases(テストケースを作る)
ユーザー kurimupykurimupy
提出日時 2020-06-18 16:02:05
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 399 ms / 2,000 ms
コード長 121 bytes
コンパイル時間 1,089 ms
コンパイル使用メモリ 86,968 KB
実行使用メモリ 83,452 KB
最終ジャッジ日時 2023-09-16 12:10:11
合計ジャッジ時間 5,118 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 89 ms
77,152 KB
testcase_01 AC 101 ms
77,464 KB
testcase_02 AC 97 ms
77,108 KB
testcase_03 AC 112 ms
77,652 KB
testcase_04 AC 68 ms
71,404 KB
testcase_05 AC 67 ms
71,144 KB
testcase_06 AC 69 ms
71,408 KB
testcase_07 AC 71 ms
71,308 KB
testcase_08 AC 89 ms
76,564 KB
testcase_09 AC 108 ms
77,576 KB
testcase_10 AC 399 ms
83,452 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
for i in range(1,N//3+10):
    for j in range(i,N+1):
        if i<=j<=N-i-j:
            print(i,j,N-i-j)
0