結果

問題 No.2314 Backflip
ユーザー McGregorshMcGregorsh
提出日時 2023-05-26 21:23:38
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 158 bytes
コンパイル時間 179 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 52,096 KB
最終ジャッジ日時 2024-12-25 04:30:41
合計ジャッジ時間 1,195 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 1 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
   
   S = input()
   if S[-1] == '0':
   	  print(S[:-2] + '1')
   else:
   	  print(S[:-2] + '0')
   
if __name__ == '__main__':
    main()
    
0