Submission #9006494


Source Code Expand

Copy
N=int(input())
S=set()
for i in range(1,N):
    x=i
    y=N-i
    if x<y:
        S.add(x)
print(len(S))

Submission Info

Submission Time
Task A - Sum of Two Integers
User shakayami
Language Python (3.4.3)
Score 100
Code Size 113 Byte
Status AC
Exec Time 270 ms
Memory 38628 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 14
Set Name Test Cases
Sample sample01.txt, sample02.txt
All sample01.txt, sample02.txt, in01.txt, in02.txt, in03.txt, in04.txt, in05.txt, in06.txt, in07.txt, in08.txt, in09.txt, in10.txt, sample01.txt, sample02.txt
Case Name Status Exec Time Memory
in01.txt AC 82 ms 11884 KB
in02.txt AC 225 ms 38628 KB
in03.txt AC 117 ms 20840 KB
in04.txt AC 238 ms 38628 KB
in05.txt AC 183 ms 21476 KB
in06.txt AC 196 ms 22116 KB
in07.txt AC 247 ms 38628 KB
in08.txt AC 260 ms 38628 KB
in09.txt AC 270 ms 38628 KB
in10.txt AC 17 ms 2940 KB
sample01.txt AC 17 ms 2940 KB
sample02.txt AC 261 ms 38628 KB