QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#31289#4011. 计算几何flower30 500ms28020kbC++205.1kb2022-05-06 13:28:552022-05-06 13:28:56

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 5
Accepted
time: 23ms
memory: 27884kb

input:

9
3 3 3
1 1 1
3 3 3
1 1 1
3 3 3
2 2 2
3 3 3
2 2 2
3 3 3

output:

27 980
3 2
27 980
3 2
27 980
12 20
27 980
12 20
27 980

result:

ok 9 lines

Test #2:

score: 5
Accepted
time: 16ms
memory: 27852kb

input:

10
4 4 4
3 3 3
1 1 1
2 2 2
4 4 4
4 4 4
2 2 2
4 4 4
4 4 4
3 3 3

output:

48 232848
27 980
3 2
12 20
48 232848
48 232848
12 20
48 232848
48 232848
27 980

result:

ok 10 lines

Test #3:

score: 0
Wrong Answer
time: 26ms
memory: 28020kb

input:

10
1 2 2
1 2 4
3 1 3
3 3 1
4 3 4
4 4 4
1 4 2
1 1 1
3 3 3
3 4 4

output:

6 27
8 1
10 47
10 10
36 333538
48 232848
8 4
3 2
27 980
36 333892

result:

wrong answer 1st lines differ - expected: '7 4', found: '6 27'

Test #4:

score: 0
Wrong Answer
time: 16ms
memory: 6236kb

input:

10
3 100 100
3 98 100
3 45 54
3 56 57
3 79 80
3 99 97
3 2 2
3 5 8
3 89 87
3 95 95

output:

1188 102011846
1174 40399
540 1
666 166352018
942 647998882
1162 37830
14 16
60 1
1042 30450
1128 681838337

result:

wrong answer 1st lines differ - expected: '1191 386990672', found: '1188 102011846'

Test #5:

score: 0
Wrong Answer
time: 112ms
memory: 4588kb

input:

10
3 1000 1000
3 998 1000
3 450 540
3 569 570
3 799 800
1 999 999
3 200 200
3 797 800
2 984 985
2 797 797

output:

11988 801329807
11974 4003999
5400 1
6822 5144465
9582 4113861
3994 3997997
2388 798541582
9564 1
7870 3884839
6370 340950162

result:

wrong answer 1st lines differ - expected: '11991 368456334', found: '11988 801329807'

Test #6:

score: 0
Wrong Answer
time: 130ms
memory: 4444kb

input:

10
3 999 999
3 899 897
3 799 800
1 314 314
3 599 299
2 924 925
3 569 570
3 980 980
3 797 800
2 797 797

output:

11976 405768948
10762 3220230
9582 4113861
1254 396267
3588 596
7390 3426199
6822 5144465
11748 63704803
9564 1
6370 340950162

result:

wrong answer 1st lines differ - expected: '11979 143556225', found: '11976 405768948'

Test #7:

score: 0
Wrong Answer
time: 500ms
memory: 4488kb

input:

10
3 2831 2832
3 3641 3641
2 4958 4958
2 4757 4756
1 4234 4234
3 1294 1296
3 4865 3857
3 4598 4596
3 2 2
3 4983 4984

output:

33966 956400828
43680 444450681
39658 194281991
38046 90487656
16934 71732427
15526 6723647
46284 2012
55150 84502056
14 16
59790 335729031

result:

wrong answer 1st lines differ - expected: '33968 222796211', found: '33966 956400828'

Test #8:

score: 0
Wrong Answer
time: 461ms
memory: 4564kb

input:

10
3 3795 3795
1 4353 4353
2 981 981
3 3865 3866
3 1998 1999
3 2345 2347
3 4759 4756
2 1245 1246
2 2385 3845
3 3771 3770

output:

45528 688820072
17410 75820553
7842 449935554
46374 367679583
23970 214947896
28138 22043023
57072 2
9958 6215047
19080 1
45234 234259492

result:

wrong answer 1st lines differ - expected: '45531 954169403', found: '45528 688820072'

Test #9:

score: 5
Accepted
time: 30ms
memory: 27960kb

input:

10
24 24 24
42 42 42
77 77 77
17 17 17
59 59 59
15 15 15
90 90 90
47 47 47
75 75 75
20 20 20

output:

1728 252553554
5292 380589438
17787 42131906
867 739254462
10443 743809195
675 905920394
24300 754508597
6627 697962640
16875 698790321
1200 955417590

result:

ok 10 lines

Test #10:

score: 5
Accepted
time: 25ms
memory: 27788kb

input:

10
37 37 37
46 46 46
43 43 43
19 19 19
49 49 49
9 9 9
17 17 17
92 92 92
50 50 50
100 100 100

output:

4107 893875715
6348 563300886
5547 881523094
1083 18413628
7203 426655263
243 768718993
867 739254462
25392 628099022
7500 962679491
30000 951252372

result:

ok 10 lines

Test #11:

score: 0
Runtime Error

input:

10
73 48 54
59 50 76
61 26 86
37 82 65
47 85 41
59 67 41
95 9 100
83 36 13
45 69 38
98 75 88

output:


result:


Test #12:

score: 0
Runtime Error

input:

10
97 64 36
37 33 62
44 31 31
5 59 28
20 65 78
16 16 12
79 79 8
40 94 58
79 70 10
19 54 20

output:


result:


Test #13:

score: 0
Memory Limit Exceeded

input:

10
47 53 38
49 75 90
64 18 30
68 68 25
64 23 81
91 30 54
34 63 26
56 88 86
98 95 71
72 26 90

output:


result:


Test #14:

score: 0
Runtime Error

input:

10
37 44 98
19 26 35
36 16 4
92 23 40
38 36 84
55 78 82
47 49 30
94 70 28
32 14 22
56 29 81

output:


result:


Test #15:

score: 5
Accepted
time: 37ms
memory: 27764kb

input:

10
34401 34401 34401
98651 98651 98651
78629 78629 78629
65591 65591 65591
66046 66046 66046
52700 52700 52700
17307 17307 17307
33324 33324 33324
77617 77617 77617
99785 99785 99785

output:

3550286403 992487865
29196059403 420763712
18547558923 153343492
12906537843 81352952
13086222348 650486915
8331870000 97517555
898596747 225446043
3331466928 76350604
18073196067 435310816
29871138675 202468820

result:

ok 10 lines

Test #16:

score: 0
Memory Limit Exceeded

input:

10
3647 74898 74991
51941 70217 44785
51153 1620 52094
62267 51597 11976
65243 26874 45053
34401 98651 78629
65591 23554 66046
52700 17307 53332
77617 99785 74174
60382 17109 62860

output:


result:


Test #17:

score: 0
Runtime Error

input:

10
308 316 10
403 6 400
3 576 570
587 2 586
1000 1000 1
1 1 1000000
100 100 100
113 80 110
1000000 1 1
1 1000000 1

output:


result:


Test #18:

score: 0
Runtime Error

input:

10
970 1 970
385 380 6
2 700 706
101 100 99
183 24 202
999999 1 1
1 1 999999
4 124830 2
832 2 12
133 77 77

output:


result:


Test #19:

score: 5
Accepted
time: 117ms
memory: 27852kb

input:

10
201572 201572 201572
590217 590217 590217
374643 374643 374643
92508 92508 92508
1000000 1000000 1000000
247427 247427 247427
774179 774179 774179
593157 593157 593157
751207 751207 751207
909474 909474 909474

output:

121893813552 326183328
1045068321267 365888698
421072132347 50616771
25673190192 945664445
3000000000000 142411650
183660360987 574138609
1798059372123 574598131
1055505679947 62300093
1692935870547 866008617
2481428870028 843792102

result:

ok 10 lines

Test #20:

score: 0
Dangerous Syscalls

input:

10
599472 268253 682858
666172 689269 998823
625414 945281 370178
798580 246142 590665
32873 131908 130577
586779 319509 393463
725788 859892 283263
609870 959975 546223
852317 667850 648721
95783 486430 365205

output:


result: