結果

問題 No.2314 Backflip
ユーザー ShirotsumeShirotsume
提出日時 2023-05-26 21:40:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 97 ms / 2,000 ms
コード長 268 bytes
コンパイル時間 1,010 ms
コンパイル使用メモリ 86,856 KB
実行使用メモリ 71,844 KB
最終ジャッジ日時 2023-08-26 10:50:06
合計ジャッジ時間 2,691 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 96 ms
71,564 KB
testcase_01 AC 93 ms
71,360 KB
testcase_02 AC 95 ms
71,524 KB
testcase_03 AC 94 ms
71,416 KB
testcase_04 AC 97 ms
71,364 KB
testcase_05 AC 96 ms
71,536 KB
testcase_06 AC 96 ms
71,632 KB
testcase_07 AC 96 ms
71,632 KB
testcase_08 AC 96 ms
71,328 KB
testcase_09 AC 95 ms
71,544 KB
testcase_10 AC 93 ms
71,844 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from collections import deque, Counter
input = lambda: sys.stdin.readline().rstrip()
ii = lambda: int(input())
mi = lambda: map(int, input().split())
li = lambda: list(mi())
inf = 2 ** 63 - 1
mod = 998244353

s = input()

print(s[:-1] + str(1 - int(s[-1])))
0