結果
問題 | No.2314 Backflip |
ユーザー |
![]() |
提出日時 | 2023-08-02 10:22:06 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 36 ms / 2,000 ms |
コード長 | 126 bytes |
コンパイル時間 | 166 ms |
コンパイル使用メモリ | 82,192 KB |
実行使用メモリ | 53,428 KB |
最終ジャッジ日時 | 2024-10-12 05:11:01 |
合計ジャッジ時間 | 1,243 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 8 |
ソースコード
s = input()if s[-1] == "0":print(s[:-1] + "1")else: print(s[:-1] + "0")