結果
| 問題 | No.3468 あるジャッジサーバー |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-03-06 21:23:24 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 65 ms / 2,000 ms |
| + 404µs | |
| コード長 | 183 bytes |
| 記録 | |
| コンパイル時間 | 250 ms |
| コンパイル使用メモリ | 95,728 KB |
| 実行使用メモリ | 83,200 KB |
| 最終ジャッジ日時 | 2026-07-27 06:09:49 |
| 合計ジャッジ時間 | 2,872 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 16 |
ソースコード
N=int(input())
T=list(map(int,input().split()))
S=list(map(int,input().split()))
ans=0
i=0
end=-0.1
for s in S:
if end<s:
ans+=1
end=s+T[i]-0.1
i+=1
print(ans)