結果

問題 No.544 Delete 7
ユーザー ch1channn
提出日時 2022-12-16 09:43:15
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 298 bytes
コンパイル時間 292 ms
コンパイル使用メモリ 82,232 KB
実行使用メモリ 54,116 KB
最終ジャッジ日時 2024-11-15 14:43:22
合計ジャッジ時間 3,674 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 3
other AC * 23 WA * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
if sys.platform =='ios':
	import clipboard
	a=clipboard.get()
	a = a.split('\n')
	text = '\n'.join(a)
	with open('input_file.txt','w') as f:
		f.write(text)
	sys.stdin = open('input_file.txt')
	
n = int(input())
a = (n//2)-1
for i in range(a,10**9):
	if a + i == n:
		print(a,i)
		exit()
0