Submission #19534439


Source Code Expand

Copy
s = input()
n = len(s)
ans = ''
for i in range(n-5):
    if s[i:i+6] == 'HAGIYA':
        ans += 'HAGIXILE'
        i += 5
    else:
        ans += s[i]
print(ans)

Submission Info

Submission Time
Task A - HAGIXILE
User Katsuhito
Language Python (3.8.2)
Score 0
Code Size 172 Byte
Status WA
Exec Time 27 ms
Memory 8892 KB

Judge Result

Set Name All
Score / Max Score 0 / 20
Status
AC × 3
WA × 61
Set Name Test Cases
All 00_manual1.txt, 00_manual2.txt, 00_sample.txt, 00_small00.txt, 00_small01.txt, 00_small02.txt, 00_small03.txt, 00_small04.txt, 00_small05.txt, 00_small06.txt, 00_small07.txt, 00_small08.txt, 00_small09.txt, 00_small10.txt, 00_small11.txt, 00_small12.txt, 00_small13.txt, 00_small14.txt, 00_small15.txt, 00_small16.txt, 00_small17.txt, 00_small18.txt, 00_small19.txt, 00_small20.txt, 00_small21.txt, 00_small22.txt, 00_small23.txt, 00_small24.txt, 00_small25.txt, 00_small26.txt, 00_small27.txt, 00_small28.txt, 00_small29.txt, 01_large00.txt, 01_large01.txt, 01_large02.txt, 01_large03.txt, 01_large04.txt, 01_large05.txt, 01_large06.txt, 01_large07.txt, 01_large08.txt, 01_large09.txt, 01_large10.txt, 01_large11.txt, 01_large12.txt, 01_large13.txt, 01_large14.txt, 01_large15.txt, 01_large16.txt, 01_large17.txt, 01_large18.txt, 01_large19.txt, 01_large20.txt, 01_large21.txt, 01_large22.txt, 01_large23.txt, 01_large24.txt, 01_large25.txt, 01_large26.txt, 01_large27.txt, 01_large28.txt, 01_large29.txt, 03_manual00.txt
Case Name Status Exec Time Memory
00_manual1.txt AC 19 ms 8712 KB
00_manual2.txt WA 20 ms 8732 KB
00_sample.txt AC 26 ms 8692 KB
00_small00.txt WA 18 ms 8736 KB
00_small01.txt WA 23 ms 8692 KB
00_small02.txt WA 25 ms 8724 KB
00_small03.txt WA 20 ms 8840 KB
00_small04.txt WA 18 ms 8708 KB
00_small05.txt WA 18 ms 8836 KB
00_small06.txt WA 21 ms 8704 KB
00_small07.txt WA 18 ms 8728 KB
00_small08.txt WA 17 ms 8836 KB
00_small09.txt WA 25 ms 8728 KB
00_small10.txt WA 18 ms 8892 KB
00_small11.txt WA 25 ms 8840 KB
00_small12.txt WA 20 ms 8696 KB
00_small13.txt WA 18 ms 8708 KB
00_small14.txt WA 19 ms 8888 KB
00_small15.txt WA 25 ms 8700 KB
00_small16.txt WA 21 ms 8696 KB
00_small17.txt WA 18 ms 8708 KB
00_small18.txt WA 22 ms 8840 KB
00_small19.txt WA 26 ms 8788 KB
00_small20.txt AC 19 ms 8732 KB
00_small21.txt WA 18 ms 8836 KB
00_small22.txt WA 22 ms 8728 KB
00_small23.txt WA 26 ms 8724 KB
00_small24.txt WA 19 ms 8720 KB
00_small25.txt WA 18 ms 8788 KB
00_small26.txt WA 20 ms 8724 KB
00_small27.txt WA 24 ms 8724 KB
00_small28.txt WA 19 ms 8888 KB
00_small29.txt WA 24 ms 8696 KB
01_large00.txt WA 22 ms 8892 KB
01_large01.txt WA 19 ms 8816 KB
01_large02.txt WA 19 ms 8736 KB
01_large03.txt WA 18 ms 8732 KB
01_large04.txt WA 27 ms 8812 KB
01_large05.txt WA 18 ms 8840 KB
01_large06.txt WA 18 ms 8736 KB
01_large07.txt WA 23 ms 8712 KB
01_large08.txt WA 22 ms 8700 KB
01_large09.txt WA 19 ms 8888 KB
01_large10.txt WA 19 ms 8884 KB
01_large11.txt WA 27 ms 8724 KB
01_large12.txt WA 20 ms 8724 KB
01_large13.txt WA 23 ms 8836 KB
01_large14.txt WA 20 ms 8832 KB
01_large15.txt WA 21 ms 8696 KB
01_large16.txt WA 27 ms 8736 KB
01_large17.txt WA 20 ms 8796 KB
01_large18.txt WA 20 ms 8816 KB
01_large19.txt WA 21 ms 8704 KB
01_large20.txt WA 20 ms 8700 KB
01_large21.txt WA 21 ms 8716 KB
01_large22.txt WA 19 ms 8888 KB
01_large23.txt WA 21 ms 8700 KB
01_large24.txt WA 25 ms 8836 KB
01_large25.txt WA 22 ms 8696 KB
01_large26.txt WA 19 ms 8740 KB
01_large27.txt WA 20 ms 8724 KB
01_large28.txt WA 18 ms 8788 KB
01_large29.txt WA 18 ms 8736 KB
03_manual00.txt WA 26 ms 8756 KB