結果

問題 No.1563 Same Degree
ユーザー ああいいああいい
提出日時 2021-12-23 19:34:42
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 290 ms / 2,000 ms
コード長 175 bytes
コンパイル時間 126 ms
コンパイル使用メモリ 11,744 KB
実行使用メモリ 10,100 KB
最終ジャッジ日時 2023-10-17 20:58:19
合計ジャッジ時間 4,789 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
10,080 KB
testcase_01 AC 177 ms
10,100 KB
testcase_02 AC 172 ms
10,100 KB
testcase_03 AC 176 ms
10,100 KB
testcase_04 AC 178 ms
10,100 KB
testcase_05 AC 175 ms
10,100 KB
testcase_06 AC 181 ms
10,100 KB
testcase_07 AC 179 ms
10,100 KB
testcase_08 AC 181 ms
10,100 KB
testcase_09 AC 181 ms
10,100 KB
testcase_10 AC 177 ms
10,100 KB
testcase_11 AC 64 ms
10,100 KB
testcase_12 AC 107 ms
10,100 KB
testcase_13 AC 255 ms
10,100 KB
testcase_14 AC 290 ms
10,100 KB
testcase_15 AC 200 ms
10,100 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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