結果
問題 | No.2314 Backflip |
ユーザー |
|
提出日時 | 2023-05-26 21:40:06 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 42 ms / 2,000 ms |
コード長 | 268 bytes |
コンパイル時間 | 567 ms |
コンパイル使用メモリ | 82,688 KB |
実行使用メモリ | 54,144 KB |
最終ジャッジ日時 | 2024-12-25 05:45:00 |
合計ジャッジ時間 | 1,706 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 8 |
ソースコード
import sysfrom collections import deque, Counterinput = lambda: sys.stdin.readline().rstrip()ii = lambda: int(input())mi = lambda: map(int, input().split())li = lambda: list(mi())inf = 2 ** 63 - 1mod = 998244353s = input()print(s[:-1] + str(1 - int(s[-1])))