結果

問題 No.522 Make Test Cases(テストケースを作る)
ユーザー tetsutetsu
提出日時 2017-06-02 22:37:23
言語 Python2
(2.7.18)
結果
TLE  
実行時間 -
コード長 148 bytes
コンパイル時間 645 ms
コンパイル使用メモリ 7,096 KB
実行使用メモリ 10,860 KB
最終ジャッジ日時 2023-10-21 21:06:43
合計ジャッジ時間 8,436 ms
ジャッジサーバーID
(参考情報)
judge12 / judge9
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 195 ms
10,824 KB
testcase_01 AC 1,971 ms
6,504 KB
testcase_02 AC 1,280 ms
6,488 KB
testcase_03 TLE -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = input()
for a in range(1, n/3+1):
    for b in range(a, n):
        for c in range(b, n):
            if a+b+c==n:
                print a, b, c
0