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 AC
Exec Time 20 ms
Memory 9096 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 11
Set Name Test Cases
Sample 00-Sample-00, 00-Sample-01, 00-Sample-02
All 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 AC 16 ms 8916 KB
00-Sample-01 AC 17 ms 8808 KB
00-Sample-02 AC 17 ms 8968 KB
01-Handmade-00 AC 17 ms 8916 KB
01-Handmade-01 AC 16 ms 9096 KB
01-Handmade-02 AC 19 ms 8912 KB
01-Handmade-03 AC 16 ms 8916 KB
01-Handmade-04 AC 19 ms 8968 KB
02-Random-00 AC 19 ms 8812 KB
02-Random-01 AC 20 ms 8912 KB
02-Random-02 AC 17 ms 8916 KB