Submission #1465021


Source Code Expand

Copy
k=int(input())
print(2)
if k%2==0:
    print(1+(k//2), 1+(k//2))
else:
    k-=1
    print(0+(k//2), 3+(k//2))

Submission Info

Submission Time
Task D - Decrease (Contestant ver.)
User Tatsuno
Language Python (3.4.3)
Score 0
Code Size 115 Byte
Status WA
Exec Time 17 ms
Memory 2940 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 600
Status
AC × 5
AC × 10
WA × 15
Set Name Test Cases
Sample example0, example1, example2, example3, example4
All corner0, corner1, corner2, corner3, corner4, corner5, corner6, corner7, corner8, corner9, example0, example1, example2, example3, example4, rand0, rand1, rand2, rand3, rand4, rand5, rand6, rand7, rand8, rand9
Case Name Status Exec Time Memory
corner0 AC 17 ms 2940 KB
corner1 WA 17 ms 2940 KB
corner2 AC 17 ms 2940 KB
corner3 WA 17 ms 2940 KB
corner4 AC 17 ms 2940 KB
corner5 WA 17 ms 2940 KB
corner6 AC 17 ms 2940 KB
corner7 WA 17 ms 2940 KB
corner8 AC 17 ms 2940 KB
corner9 WA 17 ms 2940 KB
example0 AC 17 ms 2940 KB
example1 AC 17 ms 2940 KB
example2 AC 17 ms 2940 KB
example3 AC 17 ms 2940 KB
example4 AC 17 ms 2940 KB
rand0 WA 17 ms 2940 KB
rand1 WA 17 ms 2940 KB
rand2 WA 17 ms 2940 KB
rand3 WA 17 ms 2940 KB
rand4 WA 17 ms 2940 KB
rand5 WA 17 ms 2940 KB
rand6 WA 17 ms 2940 KB
rand7 WA 17 ms 2940 KB
rand8 WA 17 ms 2940 KB
rand9 WA 17 ms 2940 KB