結果

問題 No.1205 Eye Drops
ユーザー YU HiroseYU Hirose
提出日時 2024-06-18 20:03:02
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 185 bytes
コンパイル時間 473 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 75,776 KB
最終ジャッジ日時 2024-06-18 20:03:07
合計ジャッジ時間 4,806 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 14 WA * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

n, m = map(int, input().split())
curr = 0
for _ in range(m):
    t, p = map(int, input().split())
    d = p - curr
    if t < d:
        print("No")
        break
else:
    print("Yes")
0