結果

問題 No.2314 Backflip
ユーザー Basin-BugBasin-Bug
提出日時 2023-07-12 15:03:05
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 81 ms / 2,000 ms
コード長 84 bytes
コンパイル時間 1,211 ms
コンパイル使用メモリ 86,960 KB
実行使用メモリ 71,452 KB
最終ジャッジ日時 2023-10-12 05:19:38
合計ジャッジ時間 2,594 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,116 KB
testcase_01 AC 73 ms
71,144 KB
testcase_02 AC 75 ms
71,108 KB
testcase_03 AC 75 ms
71,336 KB
testcase_04 AC 73 ms
71,452 KB
testcase_05 AC 79 ms
71,116 KB
testcase_06 AC 81 ms
71,124 KB
testcase_07 AC 79 ms
71,104 KB
testcase_08 AC 76 ms
71,376 KB
testcase_09 AC 73 ms
71,404 KB
testcase_10 AC 73 ms
71,132 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = str(input())

if S[-1] == "1":
  print(S[:-1] + "0")
else:
  print(S[:-1] + "1")
0