ICPC 2023 vòng Regional - A: Area Query

View as PDF

Submit solution

Points: 2.00
Time limit: 5.0s
Memory limit: 512M
Input: stdin
Output: stdout

Problem source:
ICPC 2023 vòng Regional
Problem type
Allowed languages
C, C++, Go, Java, Kotlin, Pascal, PyPy, Python, Rust, Scratch

In case the statement didn't load correctly, you can download the statement here: Statement

Sample Input 1

7
1 1
1 7
2 8
4 7
7 4
8 2
7 1
15
A 1 3
A 1 4
A 1 5
A 1 6
? 1 3
R 1 3
A 2 4
R 1 6
A 5 7
? 2 5
R 1 5
R 1 4
A 4 7
A 2 7
? 7 4
0

Sample Output 1

24.0
0.0
3.0

Comments

Please read the guidelines before commenting.