結果

問題 No.1563 Same Degree
ユーザー etale.K3etale.K3
提出日時 2021-10-16 20:27:41
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 292 ms / 2,000 ms
コード長 148 bytes
コンパイル時間 97 ms
コンパイル使用メモリ 11,736 KB
実行使用メモリ 10,008 KB
最終ジャッジ日時 2023-10-17 22:17:07
合計ジャッジ時間 3,871 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
9,996 KB
testcase_01 AC 176 ms
10,008 KB
testcase_02 AC 173 ms
10,008 KB
testcase_03 AC 176 ms
10,008 KB
testcase_04 AC 176 ms
10,008 KB
testcase_05 AC 174 ms
10,008 KB
testcase_06 AC 180 ms
10,008 KB
testcase_07 AC 182 ms
10,008 KB
testcase_08 AC 181 ms
10,008 KB
testcase_09 AC 181 ms
10,008 KB
testcase_10 AC 179 ms
10,008 KB
testcase_11 AC 63 ms
10,008 KB
testcase_12 AC 107 ms
10,008 KB
testcase_13 AC 260 ms
10,008 KB
testcase_14 AC 292 ms
10,008 KB
testcase_15 AC 203 ms
10,008 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

T = int(input())

for t in range(T):
    N,M = map(int, input().split())
    for i in range(M):
        input()
    print('No' if N == 1 else 'Yes')
0