結果
問題 | No.2015 Stair Counter |
ユーザー |
![]() |
提出日時 | 2022-07-22 21:52:15 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 164 ms / 2,000 ms |
コード長 | 237 bytes |
コンパイル時間 | 296 ms |
コンパイル使用メモリ | 82,640 KB |
実行使用メモリ | 102,512 KB |
最終ジャッジ日時 | 2024-07-04 06:06:47 |
合計ジャッジ時間 | 4,144 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 25 |
ソースコード
t = int(input())for _ in range(t):n,m = map(int,input().split())a = list(map(int,input().split()))boo = Truefor i in range(n-1):if a[i] + a[i+1] < m:boo = Falseprint("Yes" if boo else "No")