結果
問題 | No.1571 All Your Cycles Are Same Lengths |
ユーザー | 👑 Kazun |
提出日時 | 2021-06-28 03:26:00 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 299 bytes |
コンパイル時間 | 463 ms |
コンパイル使用メモリ | 87,044 KB |
実行使用メモリ | 76,820 KB |
最終ジャッジ日時 | 2023-09-07 18:12:00 |
合計ジャッジ時間 | 2,973 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 73 ms
71,300 KB |
testcase_01 | AC | 75 ms
71,232 KB |
testcase_02 | WA | - |
testcase_03 | AC | 81 ms
75,104 KB |
testcase_04 | WA | - |
testcase_05 | AC | 87 ms
76,600 KB |
testcase_06 | WA | - |
testcase_07 | AC | 91 ms
76,568 KB |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
ソースコード
Q=int(input()) for _ in range(Q): N,T=map(int,input().split()) if T%2==1: print("No") continue print("Yes") for i in range(1,N+1): for j in range(i+1,N+1): if i==1: print(i,j,T//2) else: print(i,j,0)