結果
問題 |
No.1205 Eye Drops
|
ユーザー |
![]() |
提出日時 | 2020-08-30 13:26:47 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 655 bytes |
コンパイル時間 | 145 ms |
コンパイル使用メモリ | 82,156 KB |
実行使用メモリ | 76,288 KB |
最終ジャッジ日時 | 2024-11-23 20:46:11 |
合計ジャッジ時間 | 3,311 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 14 WA * 23 |
ソースコード
import sys from collections import deque import bisect import copy import heapq import itertools import math input = sys.stdin.readline sys.setrecursionlimit(1000000) mod = 10 ** 9 + 7 def read_values(): return map(int, input().split()) def read_index(): return map(lambda x: int(x) - 1, input().split()) def read_list(): return list(read_values()) def read_lists(N): return [read_list() for n in range(N)] def main(): N, M = read_values() p = 0 t = 0 for _ in range(M): T, P = read_values() if (T - t) < abs(P - p): print("No") return print("Yes") if __name__ == "__main__": main()