結果
| 問題 | No.3468 あるジャッジサーバー |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-03-06 21:29:31 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 38 ms / 2,000 ms |
| コード長 | 195 bytes |
| 記録 | |
| コンパイル時間 | 1,807 ms |
| コンパイル使用メモリ | 84,836 KB |
| 実行使用メモリ | 59,480 KB |
| 最終ジャッジ日時 | 2026-03-06 21:32:15 |
| 合計ジャッジ時間 | 3,290 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 16 |
ソースコード
N = int(input())
T = list(map(int, input().split()))
S = list(map(int, input().split()))
ans = 0
cur = 0
for s, t in zip(S, T):
if cur <= s:
ans += 1
cur = s + t
print(ans)