結果

問題 No.522 Make Test Cases(テストケースを作る)
ユーザー aaaaaaaaaa
提出日時 2017-06-03 00:42:00
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
WA  
実行時間 -
コード長 118 bytes
コンパイル時間 535 ms
コンパイル使用メモリ 11,720 KB
実行使用メモリ 10,272 KB
最終ジャッジ日時 2023-10-22 02:11:36
合計ジャッジ時間 4,848 ms
ジャッジサーバーID
(参考情報)
judge10 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
10,272 KB
testcase_01 AC 92 ms
10,252 KB
testcase_02 AC 79 ms
10,248 KB
testcase_03 AC 160 ms
10,252 KB
testcase_04 WA -
testcase_05 AC 28 ms
10,044 KB
testcase_06 AC 28 ms
10,044 KB
testcase_07 AC 29 ms
10,088 KB
testcase_08 AC 33 ms
10,264 KB
testcase_09 AC 118 ms
10,252 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