ICPC 2022 vòng Regional - G: Goal-line Technology

View as PDF

Submit solution

Points: 0.20
Time limit: 1.0s
Memory limit: 512M
Input: stdin
Output: stdout

Problem source:
ICPC 2022 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

6 10 120 110
90 100 110 120 130 140

Sample Output 1

GOAL

Sample Input 2

8 10 0 10
10 4 -2 -8 -1 5 10 15

Sample Output 2

NO GOAL

Sample Input 3

1 1 2 3
1

Sample Output 3

GOAL

Comments

Please read the guidelines before commenting.



  • -5
    vendettas  commented on Sept. 26, 2023, 12:14 p.m.

    This comment is hidden due to too much negative feedback. Show it anyway.