QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#310440#7181. Graph CutsHuangHanShengRE 3ms10788kbC++142.4kb2024-01-21 14:14:012024-01-21 14:14:02

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 10788kb

input:

4 5
1 2
1 3
1 4
2 3
2 4
10
+ 1
+ 2
?
?
?
?
?
- 2
?
?

output:

3
5
2
4
0
1
0

result:

ok q=10

Test #2:

score: 0
Accepted
time: 0ms
memory: 8424kb

input:

0 0
0

output:


result:

ok q=0

Test #3:

score: -100
Runtime Error

input:

0 0
1
?

output:


result: