結果

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

ソースコード

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-2,10**9):
	if a + i == n:
		print(a,i)
		exit()
0