結果

問題 No.522 Make Test Cases(テストケースを作る)
ユーザー daleksprinterdaleksprinter
提出日時 2018-08-26 23:09:19
言語 Python2
(2.7.18)
結果
AC  
実行時間 1,320 ms / 2,000 ms
コード長 116 bytes
コンパイル時間 160 ms
コンパイル使用メモリ 6,648 KB
実行使用メモリ 6,268 KB
最終ジャッジ日時 2023-09-13 19:26:15
合計ジャッジ時間 5,442 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
6,268 KB
testcase_01 AC 54 ms
6,228 KB
testcase_02 AC 44 ms
6,028 KB
testcase_03 AC 101 ms
6,024 KB
testcase_04 AC 11 ms
6,080 KB
testcase_05 AC 11 ms
6,020 KB
testcase_06 AC 11 ms
6,020 KB
testcase_07 AC 11 ms
5,992 KB
testcase_08 AC 15 ms
6,116 KB
testcase_09 AC 72 ms
6,032 KB
testcase_10 AC 1,320 ms
6,156 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

for i in range(1,n):
	for j in range(i,n):
		k = n - i - j 
		if k >= j:
			print i, j, n - i - j
0