結果

問題 No.522 Make Test Cases(テストケースを作る)
ユーザー aaaaaaaaaa
提出日時 2017-06-03 00:43:08
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 118 bytes
コンパイル時間 385 ms
コンパイル使用メモリ 11,776 KB
実行使用メモリ 10,332 KB
最終ジャッジ日時 2023-10-22 02:12:26
合計ジャッジ時間 4,821 ms
ジャッジサーバーID
(参考情報)
judge10 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
10,332 KB
testcase_01 AC 92 ms
10,312 KB
testcase_02 AC 80 ms
10,308 KB
testcase_03 AC 171 ms
10,312 KB
testcase_04 AC 31 ms
10,104 KB
testcase_05 AC 30 ms
10,104 KB
testcase_06 AC 30 ms
10,104 KB
testcase_07 AC 31 ms
10,148 KB
testcase_08 AC 36 ms
10,324 KB
testcase_09 AC 121 ms
10,312 KB
testcase_10 TLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
for x in range(1,~-n):
    for y in range(x,-~n-x):
        if n-x-y>0 and x<=y<=n-x-y:print(x,y,n-x-y)
0