結果

問題 No.522 Make Test Cases(テストケースを作る)
ユーザー matriematrie
提出日時 2021-01-05 23:44:00
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 144 bytes
コンパイル時間 316 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 17,616 KB
最終ジャッジ日時 2024-04-24 01:59:22
合計ジャッジ時間 7,206 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
16,512 KB
testcase_01 AC 792 ms
11,652 KB
testcase_02 AC 413 ms
11,196 KB
testcase_03 TLE -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
s=''
for a in range(1,n//3+1):
	for b in range(a,n//2+1):
		c=n-a-b
		if c>=b: s+=str(a)+' '+str(b)+' '+str(c)+'\n'
print(s[:-1])
0