結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 44 ms
10,316 KB
testcase_01 AC 105 ms
10,296 KB
testcase_02 AC 85 ms
10,292 KB
testcase_03 AC 185 ms
10,296 KB
testcase_04 AC 30 ms
10,088 KB
testcase_05 AC 29 ms
10,088 KB
testcase_06 AC 29 ms
10,088 KB
testcase_07 AC 30 ms
10,132 KB
testcase_08 AC 35 ms
10,308 KB
testcase_09 AC 135 ms
10,296 KB
testcase_10 TLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

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