結果
| 問題 |
No.2314 Backflip
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-07-23 17:21:06 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 47 ms / 2,000 ms |
| コード長 | 206 bytes |
| コンパイル時間 | 271 ms |
| コンパイル使用メモリ | 82,980 KB |
| 実行使用メモリ | 57,236 KB |
| 最終ジャッジ日時 | 2024-09-24 18:52:26 |
| 合計ジャッジ時間 | 1,492 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 8 |
ソースコード
from collections import *
from itertools import *
from functools import *
from heapq import *
import sys,math
input = sys.stdin.readline
S = list(input())[:-1]
S[-1] = str(1 - int(S[-1]))
print(''.join(S))