結果

問題 No.2314 Backflip
ユーザー ああいいああいい
提出日時 2023-05-26 21:26:56
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 65 ms / 2,000 ms
コード長 76 bytes
コンパイル時間 1,967 ms
コンパイル使用メモリ 86,984 KB
実行使用メモリ 71,564 KB
最終ジャッジ日時 2023-08-26 10:10:07
合計ジャッジ時間 1,746 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
71,400 KB
testcase_01 AC 61 ms
71,132 KB
testcase_02 AC 62 ms
71,096 KB
testcase_03 AC 63 ms
71,296 KB
testcase_04 AC 65 ms
71,252 KB
testcase_05 AC 61 ms
71,252 KB
testcase_06 AC 61 ms
71,212 KB
testcase_07 AC 59 ms
71,300 KB
testcase_08 AC 61 ms
71,564 KB
testcase_09 AC 64 ms
71,328 KB
testcase_10 AC 63 ms
71,212 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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