結果
| 問題 | 
                            No.1205 Eye Drops
                             | 
                    
| コンテスト | |
| ユーザー | 
                             itm_tech
                         | 
                    
| 提出日時 | 2020-11-02 21:56:51 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 217 bytes | 
| コンパイル時間 | 184 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,880 KB | 
| 最終ジャッジ日時 | 2024-07-22 08:06:56 | 
| 合計ジャッジ時間 | 2,722 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 33 WA * 4 | 
ソースコード
n, m = [int(i) for i in input().split()]
tt = 0
pt = 0
for i in range(m):
    t, p = [int(i) for i in input().split()]
    if abs(pt - p) > t - tt:
        print("No")
        exit()
    tt = t
    pp = p
print("Yes")
            
            
            
        
            
itm_tech