QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#425341#8179. 2D ParenthesesShui_DreamWA 229ms25232kbC++201.8kb2024-05-30 09:01:002024-05-30 09:01:03

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3840kb

input:

3
0 0
2 -2
1 1
2 2
3 1
2 3

output:

Yes
3
2
1

result:

ok answer is YES, 3 tokens

Test #2:

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

input:

2
1 0
0 1
2 3
3 2

output:

No

result:

ok answer is NO

Test #3:

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

input:

1
1 1
0 0

output:

No

result:

ok answer is NO

Test #4:

score: -100
Wrong Answer
time: 229ms
memory: 25232kb

input:

199996
94702923 895749121
-830347683 823853414
-638337012 -528381915
774504965 -903560893
465975432 931026841
47062323 901390864
539345338 830099354
278774201 896803047
-445303873 568413124
80473317 828648317
804283391 -307873779
543648687 893783688
814084625 -664894626
169476937 -999435847
-8232728...

output:

Yes
160239
88398
59327
146960
29196
93486
198434
198023
157367
48765
123135
18491
80650
112519
196489
173744
111471
5551
113259
136548
133688
182366
59175
165032
163355
93530
5843
31857
130090
155862
76890
97333
133685
142517
167272
4006
27179
1988
107334
183071
65560
70618
199137
151179
183975
1363...

result:

wrong answer 1st words differ - expected: '21701', found: '160239'