Submission #8348344


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 PyPy3 (2.4.0)
Score 100
Code Size 113 Byte
Status AC
Exec Time 214 ms
Memory 71404 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 186 ms 45296 KB
in02.txt AC 214 ms 71404 KB
in03.txt AC 187 ms 53616 KB
in04.txt AC 214 ms 71404 KB
in05.txt AC 193 ms 53488 KB
in06.txt AC 190 ms 53488 KB
in07.txt AC 206 ms 71404 KB
in08.txt AC 206 ms 71404 KB
in09.txt AC 207 ms 71276 KB
in10.txt AC 170 ms 38256 KB
sample01.txt AC 171 ms 38256 KB
sample02.txt AC 214 ms 71404 KB