結果

問題 No.2314 Backflip
ユーザー flygonflygon
提出日時 2023-05-26 21:21:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 65 ms / 2,000 ms
コード長 91 bytes
コンパイル時間 1,242 ms
コンパイル使用メモリ 86,684 KB
実行使用メモリ 71,312 KB
最終ジャッジ日時 2023-08-26 09:49:08
合計ジャッジ時間 1,942 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,300 KB
testcase_01 AC 62 ms
71,216 KB
testcase_02 AC 64 ms
71,036 KB
testcase_03 AC 63 ms
71,236 KB
testcase_04 AC 62 ms
71,236 KB
testcase_05 AC 62 ms
71,280 KB
testcase_06 AC 63 ms
70,928 KB
testcase_07 AC 64 ms
71,032 KB
testcase_08 AC 65 ms
71,224 KB
testcase_09 AC 65 ms
71,312 KB
testcase_10 AC 64 ms
71,308 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s =list( input())
if s[-1] == "0":
    s[-1] = "1"
else:
    s[-1] = "0"

print("".join(s))
0