Submission #3405966

Source Code Expand

Copy
N = int(input())
x = [i for i in range(101) if i % N != 0]
l = len(x)
#print(N, x, l)
print(l)

Submission Info

Submission Time
Task A - Probability of Participation
User showyou41
Language Python3 (3.4.3)
Score 100
Code Size 98 Byte
Status
Exec Time 20 ms
Memory 3316 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample_01.txt, sample_02.txt, sample_03.txt
All 100 / 100 in01.txt, in02.txt, in03.txt, in04.txt, in05.txt, in06.txt, in07.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
in01.txt 20 ms 3316 KB
in02.txt 17 ms 2940 KB
in03.txt 17 ms 2940 KB
in04.txt 17 ms 2940 KB
in05.txt 17 ms 2940 KB
in06.txt 17 ms 2940 KB
in07.txt 17 ms 2940 KB
sample_01.txt 17 ms 2940 KB
sample_02.txt 17 ms 2940 KB
sample_03.txt 17 ms 2940 KB