Submission #8363082


Source Code Expand

Copy
N,K = map(int,input().split())
if K != 1:
    print(-1)
else:
    for i in range(N):
        print(i+1,i+1+N,i+1+2*N)

Submission Info

Submission Time
Task E - Non-triangular Triplets
User ttm8761
Language Python (3.4.3)
Score 0
Code Size 122 Byte
Status WA
Exec Time 17 ms
Memory 2940 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 700
Status
AC × 2
AC × 12
WA × 26
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, in11.txt, in12.txt, in13.txt, in14.txt, in15.txt, in16.txt, in17.txt, in18.txt, in19.txt, in20.txt, in21.txt, in22.txt, in23.txt, in24.txt, in25.txt, in26.txt, in27.txt, in28.txt, in29.txt, in30.txt, in31.txt, in32.txt, in33.txt, in34.txt, sample01.txt, sample02.txt
Case Name Status Exec Time Memory
in01.txt WA 17 ms 2940 KB
in02.txt WA 17 ms 2940 KB
in03.txt WA 17 ms 2940 KB
in04.txt WA 17 ms 2940 KB
in05.txt WA 17 ms 2940 KB
in06.txt WA 17 ms 2940 KB
in07.txt WA 17 ms 2940 KB
in08.txt WA 17 ms 2940 KB
in09.txt WA 17 ms 2940 KB
in10.txt WA 17 ms 2940 KB
in11.txt WA 17 ms 2936 KB
in12.txt WA 17 ms 2940 KB
in13.txt WA 17 ms 2940 KB
in14.txt WA 17 ms 2940 KB
in15.txt WA 17 ms 2940 KB
in16.txt WA 17 ms 2940 KB
in17.txt WA 17 ms 2940 KB
in18.txt WA 17 ms 2940 KB
in19.txt WA 17 ms 2940 KB
in20.txt WA 17 ms 2940 KB
in21.txt AC 17 ms 2940 KB
in22.txt AC 17 ms 2940 KB
in23.txt WA 17 ms 2940 KB
in24.txt AC 17 ms 2940 KB
in25.txt WA 17 ms 2940 KB
in26.txt WA 17 ms 2940 KB
in27.txt WA 17 ms 2940 KB
in28.txt WA 17 ms 2940 KB
in29.txt AC 17 ms 2940 KB
in30.txt AC 17 ms 2940 KB
in31.txt WA 17 ms 2940 KB
in32.txt AC 17 ms 2940 KB
in33.txt AC 17 ms 2940 KB
in34.txt AC 17 ms 2940 KB
sample01.txt AC 17 ms 2940 KB
sample02.txt AC 17 ms 2940 KB