QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#607536#6812. Draw a trianglehtyinWA 23ms3728kbC++201.0kb2024-10-03 15:13:022024-10-03 15:13:02

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3596kb

input:

3
1 0 1 4
0 1 0 9
0 0 2 2

output:

2 0
1 1
0 1

result:

ok T=3 (3 test cases)

Test #2:

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

input:

50000
66620473 -33485015 66620223 -33485265
43307886 98029243 43307636 98028994
-88895230 -3180782 -88895480 -3181030
-90319745 20018595 -90319995 20018348
-56783257 84789686 -56783507 84789440
-81798038 90629147 -81798288 90628902
98942945 -939146 98942695 -939390
-42532151 -57203475 -42532401 -572...

output:

66620250 -33485237
43307887 98029244
-88895229 -3180781
-90319912 20018430
-56783320 84789624
-81798037 90629148
98942862 -939227
-42532044 -57203371
53500363 -30665454
27114915 46989000
-2657286 26865584
40614023 17923268
-47649758 96037850
92954122 -64535082
86508758 -51415267
-82017533 17392731
7...

result:

ok T=50000 (50000 test cases)

Test #3:

score: 0
Accepted
time: 15ms
memory: 3656kb

input:

50000
57869123 -31462316 57868973 -31462566
-22048649 -27017563 -22048799 -27017812
80245618 -10283113 80245468 -10283361
-96265076 -90677482 -96265226 -90677729
22392625 4659329 22392475 4659083
-85852423 89101455 -85852573 89101210
-59733414 34194238 -59733564 34193994
-64971121 90615380 -64971271...

output:

57869088 -31462374
-22048596 -27017475
80245494 -10283318
-96265059 -90677454
22392761 4659552
-85852292 89101669
-59733556 34194007
-64971150 90615333
52018960 -19951598
51552892 -19785892
-23565194 -10551201
-25830023 37587759
-8799496 83624956
9753972 -53464455
30266701 -36069255
-59557710 384885...

result:

ok T=50000 (50000 test cases)

Test #4:

score: 0
Accepted
time: 19ms
memory: 3648kb

input:

50000
-4816480 -62927672 -4816530 -62927922
38837454 51846136 38837404 51845887
81700780 -17769080 81700730 -17769328
-2355821 -67457821 -2355871 -67458068
38958908 -79915945 38958858 -79916191
-22432180 -56740626 -22432230 -56740871
-30176805 95059932 -30176855 95059688
-42037280 55545124 -42037330...

output:

-4816450 -62927521
38837405 51845892
81700731 -17769323
-2355854 -67457984
38958920 -79915886
-22432139 -56740425
-30176822 95059849
-42037323 55544915
-42817852 -74016113
41116137 -55536842
74807750 67612730
-22054570 93125632
-1291912 -7415248
90952859 97296620
-29863898 79534330
9616906 -75170182...

result:

ok T=50000 (50000 test cases)

Test #5:

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

input:

50000
47565990 63314613 47566040 63314364
-6671692 -8431430 -6671642 -8431678
-56437314 67409796 -56437264 67409549
-19754631 97449419 -19754581 97449173
22709358 -65094552 22709408 -65094797
-9253477 92786383 -9253427 92786139
60264780 -99332277 60264830 -99332520
42759753 13104536 42759803 1310429...

output:

47565989 63314618
-6671643 -8431673
-56437281 67409633
-19754594 97449237
22709327 -65094400
-9253444 92786222
60264787 -99332311
42759784 13104386
-59912015 -29129157
77502711 67904195
-25769506 -16449288
61092642 -55411719
-53400179 -61157966
-25069363 88946657
-21853281 -11367122
-27295637 -65633...

result:

ok T=50000 (50000 test cases)

Test #6:

score: 0
Accepted
time: 11ms
memory: 3728kb

input:

49999
86077178 -33791178 86077328 -33791427
70274103 92949056 70274253 92948808
-98644776 -36717042 -98644626 -36717289
-58640982 -37021140 -58640832 -37021386
47389280 88658595 47389430 88658350
41133739 -18298063 41133889 -18298307
16742668 91602345 16742818 91602102
64705012 76220813 64705162 762...

output:

86077125 -33791090
70274002 92949223
-98644643 -36717261
-58641121 -37020912
47389269 88658613
41133822 -18298198
16742739 91602230
64705118 76220642
11696066 -41244472
-85775888 -61100613
67944194 10706541
86636142 -72743172
-80900631 -4928949
-15258557 -90512973
-57595778 -13548661
34137615 875626...

result:

ok T=49999 (49999 test cases)

Test #7:

score: -100
Wrong Answer
time: 23ms
memory: 3648kb

input:

50000
-370035325 -480207325 197507381 563102266
-447653163 -13791299 712913474 279375990
-164085901 515918101 -746049282 520422889
-351774171 -526736185 986786085 570845376
-139080671 -314883129 -653624395 -401153986
371330972 295281720 716532063 406617905
713639850 932579042 -697994312 -837319029
-...

output:

86046474 9178054186459688604
-856873776 8829311958676912231
-201106232 -6586716384169295202
390018926 -9011526485478141888
-287862316 -7854630378354708144
258922094 -3520647449878262343
1171843327 2897009682944754843
-75725887 7447095006088849738
29712206 5320074295630364711
852812989 30611133357898...

result:

wrong answer Integer parameter [name=y3] equals to 9178054186459688604, violates the range [-10^18, 10^18] (test case 1)