結果

問題 No.2314 Backflip
ユーザー McGregorshMcGregorsh
提出日時 2023-05-26 21:23:38
言語 PyPy3
(7.3.13)
結果
WA  
実行時間 -
コード長 158 bytes
コンパイル時間 760 ms
コンパイル使用メモリ 86,944 KB
実行使用メモリ 71,176 KB
最終ジャッジ日時 2023-08-26 09:54:02
合計ジャッジ時間 2,258 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 73 ms
71,132 KB
testcase_02 WA -
testcase_03 AC 70 ms
71,172 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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