Skip to content

Closing Time

UnratedFunction
English

Language

Contribute a translation
Time limit
1000 ms
Memory limit
2048 MB
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

Closing Time: original English statement, page 1

Closing Time: original English statement, page 2

Closing Time: original English statement, page 3

Closing Time: original English statement, page 4

Examples

Sample input 1
2
7 0 2 10
0 1 2
0 3 3
1 2 4
2 4 2
2 5 5
5 6 3
4 0 3 20
0 1 18
1 2 1
2 3 19
Sample output 1
6
3

Tags

No tags yet

Source

This problem accepts only these languages.

C++20