QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#263383#7317. Rectangles Inside RectangleLoverInTimeWA 1ms3656kbC++201.2kb2023-11-24 19:55:152023-11-24 19:55:15

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3 10
0 3 1 6 12
0 3 3 4 100
1 9 2 5 11
3 10
0 3 1 6 12
0 1 3 4 5
1 9 2 5 11
6 5
1 1 17 32 4
0 3 1 18 7
1 3 4 8 12
1 2 15 20 14
1 1 30 33 16
1 4 2 16 13

output:

100
16
42

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 3656kb

input:

7 7
1 4 12 40 10
0 3 22 30 3
1 2 17 38 7
0 4 9 46 4
1 1 20 28 9
0 2 18 39 0
0 3 16 50 9
6 7
0 4 7 42 10
0 4 34 35 8
0 2 24 27 7
1 6 30 36 9
1 4 23 26 1
1 4 14 40 0
1 4
1 2 19 49 6
1 6
1 1 11 49 4
3 6
0 2 30 31 6
1 4 2 17 0
1 2 41 42 8
3 7
1 4 8 22 3
1 4 14 18 5
0 2 32 39 7
10 10
1 6 29 39 8
1 6 21 3...

output:

38
17
6
4
14
12
22
28
20
28
17
28
11
11
20
28
13
23
3
23
23
18
2
13
0
10
1
42
18
27
33
31
34
1
8
20
28
26
25
17
20
34
12
17
34
22
10
23
25
24
23
25
28
26
27
8
18
27
37
24
31
22
9
15
12
14
24
25
22
0
13
22
41
8
15
26
20
17
32
2
6
12
22
17
10
20
4
7
13
22
38
11
33
25
13
31
15
8
27
9
12
13
23
22
3
15
1...

result:

wrong answer 1st lines differ - expected: '19', found: '38'