Submission #13020872


Source Code Expand

Copy
import sys
def input(): return sys.stdin.readline().rstrip()
def main():
    s=input()
    t=input()
    if s==t[:-1]:
        print("Yes")
    else:
        print("No")

if __name__=='__main__':
    main()

Submission Info

Submission Time
Task A - Registration
User charter
Language Python (3.8.2)
Score 100
Code Size 217 Byte
Status
Exec Time 20 ms
Memory 9096 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 00-Sample-00, 00-Sample-01, 00-Sample-02
All 100 / 100 00-Sample-00, 00-Sample-01, 00-Sample-02, 01-Handmade-00, 01-Handmade-01, 01-Handmade-02, 01-Handmade-03, 01-Handmade-04, 02-Random-00, 02-Random-01, 02-Random-02
Case Name Status Exec Time Memory
00-Sample-00 16 ms 8916 KB
00-Sample-01 17 ms 8808 KB
00-Sample-02 17 ms 8968 KB
01-Handmade-00 17 ms 8916 KB
01-Handmade-01 16 ms 9096 KB
01-Handmade-02 19 ms 8912 KB
01-Handmade-03 16 ms 8916 KB
01-Handmade-04 19 ms 8968 KB
02-Random-00 19 ms 8812 KB
02-Random-01 20 ms 8912 KB
02-Random-02 17 ms 8916 KB