結果

問題 No.231 めぐるはめぐる (1)
ユーザー ixmelixmel
提出日時 2017-03-30 16:51:12
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 240 bytes
コンパイル時間 106 ms
コンパイル使用メモリ 10,592 KB
実行使用メモリ 8,080 KB
最終ジャッジ日時 2023-09-21 08:43:11
合計ジャッジ時間 2,654 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 16 ms
7,872 KB
testcase_02 AC 16 ms
7,872 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 17 ms
7,964 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 16 ms
7,932 KB
testcase_12 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
import math as mas

n=int(input())
ma=0
for i in range(n):
	a,b=map(int,input().split())
	ma=max(ma,a-30000*b)
if ma>=500000:print("YES")
else:print("NO")

#for i in sys.stdin:
#	a,b=map(int,i.split())
#	print(gcd(a,b),lcm(a,b))
0