VO 20 Bài 2 - Trồng cây

View as PDF

Submit solution

Points: 1.00 (partial)
Time limit: 1.0s
Memory limit: 512M
Input: stdin
Output: stdout

Problem type
Allowed languages
C, C++, Go, Java, Kotlin, Pascal, PyPy, Python, Rust, Scratch

Đọc đề ở: https://drive.google.com/file/d/1gvLCTyizvg09H_kU0XZ-WjmgYxLNwkEO/view

Sample Input 1

1
3 1 1
3 5 4

Sample Output 1

2

Sample Input 2

2
5 1000000000 1
18 54 30 42 24

Sample Output 2

0

Sample Input 3

3
4 1 5
7 45 90 11

Sample Output 3

3

Comments

Please read the guidelines before commenting.


There are no comments at the moment.