結果

問題 No.2314 Backflip
ユーザー 👑 H20H20
提出日時 2023-05-26 21:35:12
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 73 ms / 2,000 ms
コード長 63 bytes
コンパイル時間 330 ms
コンパイル使用メモリ 87,064 KB
実行使用メモリ 71,568 KB
最終ジャッジ日時 2023-08-26 10:36:36
合計ジャッジ時間 1,865 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
71,440 KB
testcase_01 AC 69 ms
71,032 KB
testcase_02 AC 68 ms
71,568 KB
testcase_03 AC 73 ms
71,448 KB
testcase_04 AC 66 ms
71,328 KB
testcase_05 AC 67 ms
71,368 KB
testcase_06 AC 67 ms
71,324 KB
testcase_07 AC 67 ms
71,028 KB
testcase_08 AC 68 ms
71,504 KB
testcase_09 AC 70 ms
71,528 KB
testcase_10 AC 68 ms
71,296 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = list(input())
S[-1]=str((int(S[-1])+1)%2)
print(''.join(S))
0