提出 #76762555


ソースコード 拡げる

s=input()
l=list(s)
p=len(l)
i=0
for i in range(p):
    if l[i]=="0":
        l[i]="1"
    else:
        l[i]="0"

result = "".join(l)
print(result)

提出情報

提出日時
問題 A - flip
ユーザ yyonecchan2
言語 Python (PyPy 3.11-v7.3.20)
得点 100
コード長 159 Byte
結果 AC
実行時間 53 ms
メモリ 79680 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 3
AC × 8
セット名 テストケース
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_small_03.txt, 01_small_04.txt, 02_max_05.txt, 02_max_06.txt, 02_max_07.txt
ケース名 結果 実行時間 メモリ
00_sample_00.txt AC 53 ms 79516 KiB
00_sample_01.txt AC 51 ms 79600 KiB
00_sample_02.txt AC 52 ms 79344 KiB
01_small_03.txt AC 52 ms 79344 KiB
01_small_04.txt AC 52 ms 79424 KiB
02_max_05.txt AC 51 ms 79680 KiB
02_max_06.txt AC 50 ms 79680 KiB
02_max_07.txt AC 50 ms 79412 KiB