Submission #15174257


Source Code Expand

Copy
import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

L, R, D = map(int, read().split())

print(R//D - (L-1) // D)

Submission Info

Submission Time
Task A - Number of Multiples
User maspy
Language Python (3.8.2)
Score 100
Code Size 186 Byte
Status
Exec Time 30 ms
Memory 9112 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample_01.txt, sample_02.txt, sample_03.txt
All 100 / 100 random_01.txt, random_02.txt, random_03.txt, random_04.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
random_01.txt 20 ms 9016 KB
random_02.txt 18 ms 9112 KB
random_03.txt 30 ms 8952 KB
random_04.txt 25 ms 9112 KB
sample_01.txt 20 ms 8976 KB
sample_02.txt 30 ms 8964 KB
sample_03.txt 28 ms 8848 KB