結果
問題 |
No.583 鉄道同好会
|
ユーザー |
👑 ![]() |
提出日時 | 2021-03-02 19:01:27 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 185 bytes |
コンパイル時間 | 275 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 76,288 KB |
最終ジャッジ日時 | 2024-10-03 01:56:21 |
合計ジャッジ時間 | 3,031 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 WA * 1 |
ソースコード
N,M=map(int,input().split()) E=[0]*N for _ in range(M): a,b=map(int,input().split()) E[a]+=1 E[b]+=1 count=0 for x in E: count+=x%2 print("YES" if count<=2 else "NO")