結果

問題 No.2314 Backflip
ユーザー mtm
提出日時 2023-05-28 11:47:42
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 236 bytes
コンパイル時間 238 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,496 KB
最終ジャッジ日時 2024-12-26 18:31:38
合計ジャッジ時間 1,120 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 3
other RE * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()
s_splitted = list(s)

if(s_splitted[len(s_splitted)-1] == "1"):
	s_splitted[len(s_splitted)-1] == "0"
elif(s_splitted[len(s_splitted)-1] == "0"):
	s_splitted[len(s_splitted)-1] == "0"

result = join(s_splitted)
print(result)
0