Submission #9806477


Source Code Expand

Copy
a,b,c,x=map(int,open(0))
print(sum(500*i+100*j+50*k==x for i in range(a+1)for j in range(b+1)for k in range(c+1)))

Submission Info

Submission Time
Task ABC087B - Coins
User nanas
Language Python3 (3.4.3)
Score 200
Code Size 115 Byte
Status
Exec Time 51 ms
Memory 3064 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample01.txt, sample02.txt, sample03.txt
All 200 / 200 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, 09.txt, 10.txt, sample01.txt, sample02.txt, sample03.txt
Case Name Status Exec Time Memory
01.txt 27 ms 2940 KB
02.txt 17 ms 2940 KB
03.txt 19 ms 2940 KB
04.txt 51 ms 2940 KB
05.txt 17 ms 2940 KB
06.txt 24 ms 2940 KB
07.txt 50 ms 3064 KB
08.txt 17 ms 2940 KB
09.txt 17 ms 2940 KB
10.txt 17 ms 2940 KB
sample01.txt 17 ms 2940 KB
sample02.txt 17 ms 2940 KB
sample03.txt 33 ms 2940 KB