結果

問題 No.522 Make Test Cases(テストケースを作る)
ユーザー chinchillachinchilla
提出日時 2020-02-20 10:36:48
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 862 ms / 2,000 ms
コード長 121 bytes
コンパイル時間 89 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 75,440 KB
最終ジャッジ日時 2024-04-17 06:19:19
合計ジャッジ時間 3,653 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
11,008 KB
testcase_01 AC 55 ms
12,672 KB
testcase_02 AC 48 ms
12,032 KB
testcase_03 AC 84 ms
14,976 KB
testcase_04 AC 29 ms
10,496 KB
testcase_05 AC 29 ms
10,624 KB
testcase_06 AC 29 ms
10,496 KB
testcase_07 AC 29 ms
10,624 KB
testcase_08 AC 31 ms
10,880 KB
testcase_09 AC 72 ms
13,696 KB
testcase_10 AC 862 ms
75,440 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
print(*("%i %i %i" % (a, b, n-a-b)
	for a in range(1, n//3+1)
	for b in range(a, (n-a)//2+1)), sep='\n')
0