AtCoder Beginner Contest 005

Submission #3979072

Source codeソースコード

a,b=int(input()),int(input())
c=list(map(int,input().split()))
d=int(input())
e=list(map(int,input().split()))
if len(c)<len(e):
    print("no")
    exit()
j=0
for i in range(len(e)):
    if a>=e[i]-c[j]>=0:
        j+=1
if j==len(c):
    print("yes")
else:
    print("no")

Submission

Task問題 C - おいしいたこ焼きの売り方
User nameユーザ名 branlym
Created time投稿日時
Language言語 Python3 (3.4.3)
Status状態 WA
Score得点 0
Source lengthソースコード長 287 Byte
File nameファイル名
Exec time実行時間 ms
Memory usageメモリ使用量 -

Test case

Set

Set name Score得点 / Max score Cases
All 0 / 100 rand0.txt,rand1.txt,rand10.txt,rand11.txt,rand12.txt,rand13.txt,rand14.txt,rand15.txt,rand16.txt,rand17.txt,rand18.txt,rand19.txt,rand2.txt,rand20.txt,rand21.txt,rand22.txt,rand23.txt,rand24.txt,rand25.txt,rand26.txt,rand27.txt,rand28.txt,rand29.txt,rand3.txt,rand4.txt,rand5.txt,rand6.txt,rand7.txt,rand8.txt,rand9.txt,s1.txt,s2.txt,s3.txt,s4.txt,s5.txt

Test case

Case name Status状態 Exec time実行時間 Memory usageメモリ使用量
rand0.txt AC 18 ms 3060 KB
rand1.txt AC 18 ms 3064 KB
rand10.txt WA
rand11.txt AC 18 ms 3060 KB
rand12.txt AC 18 ms 3064 KB
rand13.txt AC 18 ms 3064 KB
rand14.txt AC 18 ms 3064 KB
rand15.txt AC 18 ms 3060 KB
rand16.txt AC 18 ms 3060 KB
rand17.txt WA
rand18.txt AC 18 ms 3064 KB
rand19.txt AC 18 ms 3064 KB
rand2.txt AC 18 ms 3064 KB
rand20.txt AC 18 ms 3064 KB
rand21.txt AC 18 ms 3064 KB
rand22.txt AC 18 ms 3064 KB
rand23.txt AC 17 ms 3064 KB
rand24.txt AC 18 ms 3064 KB
rand25.txt AC 18 ms 3064 KB
rand26.txt AC 18 ms 3064 KB
rand27.txt AC 18 ms 3064 KB
rand28.txt WA
rand29.txt WA
rand3.txt AC 18 ms 3064 KB
rand4.txt WA
rand5.txt AC 18 ms 3064 KB
rand6.txt AC 18 ms 3060 KB
rand7.txt WA
rand8.txt AC 18 ms 3060 KB
rand9.txt AC 18 ms 3064 KB
s1.txt AC 18 ms 3064 KB
s2.txt AC 18 ms 3064 KB
s3.txt AC 18 ms 3064 KB
s4.txt AC 18 ms 3064 KB
s5.txt WA