結果

問題 No.2314 Backflip
ユーザー yabityabit
提出日時 2023-06-19 09:15:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 73 ms / 2,000 ms
コード長 72 bytes
コンパイル時間 291 ms
コンパイル使用メモリ 86,864 KB
実行使用メモリ 71,448 KB
最終ジャッジ日時 2023-09-09 04:19:00
合計ジャッジ時間 2,056 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,092 KB
testcase_01 AC 70 ms
71,448 KB
testcase_02 AC 72 ms
71,236 KB
testcase_03 AC 70 ms
71,300 KB
testcase_04 AC 73 ms
71,404 KB
testcase_05 AC 69 ms
71,324 KB
testcase_06 AC 69 ms
71,104 KB
testcase_07 AC 70 ms
71,188 KB
testcase_08 AC 69 ms
71,076 KB
testcase_09 AC 70 ms
71,232 KB
testcase_10 AC 71 ms
71,296 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = list(input())
S[-1] = '0' if S[-1] == '1' else '1'
print(''.join(S))
0