Rust Study
InterviewTime limit1sMemory limit1024 MB
Count the days on which the pages Im-su actually studied are at least the planned pages for that day.
- Level
Easy1 of 10
- Topics
- Array, Implementation
- Solved
- No attempts yet
Problem
Im-su became an office worker after finishing job hunting, and bought a book to study the Rust programming language.
After work, Im-su plans to study at least the set number of pages each day.
Given the number of days Im-su planned and studied, the planned pages for each day, and the pages actually studied each day, find the number of days Im-su kept the plan.
Input
The first line contains , the number of days Im-su planned and studied.
The second line contains the planned page counts , separated by spaces.
The third line contains the page counts actually studied , separated by spaces.
All input values are positive integers.
Output
Print the number of days on which Im-su studied at least the planned number of pages.