QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#671220 | #6812. Draw a triangle | ucup-team2281# | AC ✓ | 27ms | 3952kb | C++14 | 1.1kb | 2024-10-24 11:42:24 | 2024-10-24 11:42:25 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3872kb
input:
3 1 0 1 4 0 1 0 9 0 0 2 2
output:
2 0 1 1 1 0
result:
ok T=3 (3 test cases)
Test #2:
score: 0
Accepted
time: 21ms
memory: 3876kb
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:
66620224 -33485265 43307637 98028995 -88895479 -3181029 -90319912 20018430 -56783445 84789501 -81798287 90628903 98942737 -939349 -42532294 -57203614 53499988 -30665817 27114915 46989000 -2657661 26865224 40614023 17923268 -47650133 96037493 92954122 -64535082 86508633 -51415385 -82017933 17392355 7...
result:
ok T=50000 (50000 test cases)
Test #3:
score: 0
Accepted
time: 20ms
memory: 3812kb
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:
57868974 -31462564 -22048796 -27017807 80245494 -10283318 -96265209 -90677701 22392486 4659101 -85852562 89101228 -59733556 34194007 -64971250 90615171 52018735 -19951961 51552742 -19786133 -23565314 -10551393 -25830023 37587759 -8799571 83624837 9753722 -53464850 30266551 -36069491 -59557920 384852...
result:
ok T=50000 (50000 test cases)
Test #4:
score: 0
Accepted
time: 20ms
memory: 3872kb
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:
-4816530 -62927921 38837405 51845892 81700731 -17769323 -2355854 -67457984 38958870 -79916132 -22432229 -56740866 -30176847 95059727 -42037323 55544915 -42817877 -74016234 41116087 -55537083 74807720 67612586 -22054570 93125632 -1291987 -7415605 90952809 97296383 -29863923 79534212 9616826 -75170558...
result:
ok T=50000 (50000 test cases)
Test #5:
score: 0
Accepted
time: 20ms
memory: 3872kb
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:
47566039 63314369 -6671643 -8431673 -56437281 67409633 -19754593 97449232 22709407 -65094792 -9253435 92786178 60264823 -99332486 42759797 13104323 -59911937 -29129533 77502761 67903955 -25769424 -16449680 61092684 -55411919 -53400125 -61158222 -25069277 88946251 -21853187 -11367564 -27295543 -65634...
result:
ok T=50000 (50000 test cases)
Test #6:
score: 0
Accepted
time: 20ms
memory: 3864kb
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:
86077325 -33791422 70274227 92948851 -98644643 -36717261 -58640843 -37021368 47389419 88658368 41133881 -18298294 16742797 91602136 64705131 76220621 11696244 -41244758 -85775597 -61101079 67944226 10706490 86636159 -72743199 -80900419 -4929284 -15258346 -90513305 -57595778 -13548661 34137747 875624...
result:
ok T=49999 (49999 test cases)
Test #7:
score: 0
Accepted
time: 26ms
memory: 3884kb
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:
-300769848 -352877107 -339517866 13524437 -358959535 517426554 -177742226 -384034911 -588484916 -390232390 420728110 311213561 -493232151 -580589514 -385131636 -550186425 895639177 -50713300 819944632 -322691031 -72931940 106963487 315035793 -386859054 -745518843 -228563363 190196029 -306399136 -663...
result:
ok T=50000 (50000 test cases)
Test #8:
score: 0
Accepted
time: 26ms
memory: 3892kb
input:
50000 38026624 -878076357 -552920439 -350794846 -412973070 -567080550 -956686128 247707367 293749788 -47698118 949332510 803776854 -37716684 -75717498 -384102742 -111390691 252319124 -407086186 -298274705 553686185 195690205 -960978213 693203670 751867944 -44794927 146815392 497184663 -657312706 244...
output:
-1628620 -842693362 -595110719 -294135927 440533870 142945973 -217437661 -94226387 45010727 -45338252 439772547 -120648190 393551764 -503553916 362909276 -309396271 85851387 95042407 101985857 -288291927 24197541 322641537 -727650943 -623255007 656284818 -342057776 -512989063 843903152 591948260 -25...
result:
ok T=50000 (50000 test cases)
Test #9:
score: 0
Accepted
time: 22ms
memory: 3796kb
input:
50000 25273482 -271356160 203127555 -184489837 -289853919 200578127 408716355 587561320 440221844 -73945468 -375731352 -330991327 452223216 -181778460 -163936693 -539981093 538901710 569206009 766705704 719561034 -491626613 -671982599 527872032 -29445214 -63710429 421304993 -622588079 487115265 -476...
output:
48376926 -260072127 -254242778 220305438 -47815735 -227689628 127535563 -370534610 546351991 574123338 -390558911 -608284842 -71904513 422269882 332089394 -57957435 75179887 292207306 485659964 -898073458 -547165559 -917555238 -192970889 -184358428 122444428 341321202 -917701328 -373723389 -46887082...
result:
ok T=50000 (50000 test cases)
Test #10:
score: 0
Accepted
time: 26ms
memory: 3948kb
input:
50000 -35259334 -701474112 311852823 -331381965 572375773 934385697 63613329 -82033074 963625204 106699315 855551972 -604089908 -239314379 -375979612 122091992 -380831468 -884798360 -827592392 -450362161 940295667 -209340085 -40153027 -361999245 620160834 877357984 882062152 315363830 559500049 -414...
output:
100685842 -556528909 255934168 302190473 875895611 -470291380 48004988 -379836855 -800664744 -485220335 -226541746 34251255 522590753 678439991 -391318098 -916030160 -124253717 -315185824 327568478 -496145635 158607620 -106166975 507194200 -178696250 380387294 83798678 6284656 278576670 521109351 89...
result:
ok T=50000 (50000 test cases)
Test #11:
score: 0
Accepted
time: 26ms
memory: 3880kb
input:
50000 -3663853 -177781773 173552690 705221364 -960654525 -342974336 754897176 504780355 494495391 471831124 -843629424 476927366 348629524 -909106658 627892786 725953059 -523367521 102557145 502351897 -236989097 -299381834 260178935 -743399500 51860789 335298045 -183924414 720046790 -631868047 17038...
output:
19026253 -64725540 -960029414 -342665432 -9044951 473748855 380075307 -724994603 453138546 -220697889 -709832557 67609269 603520353 -496202171 879632588 638182693 -354391075 5038132 -116061489 499499334 290384228 37350965 -506797283 -656030854 282935397 -243223766 -51642489 -110676669 441601157 -885...
result:
ok T=50000 (50000 test cases)
Test #12:
score: 0
Accepted
time: 22ms
memory: 3872kb
input:
50000 87994422 -469168315 -282663695 303996144 -153451281 -314512069 -168298547 948863838 -293926308 -170703744 789655924 -859296264 930120677 671761062 934908485 938519828 -62509863 497504980 258338790 286307134 166058928 434063507 329625200 250123198 170938223 -712363899 -476975593 -946264304 -351...
output:
-73237496 -132850876 -155918744 -104551979 741954780 -828983243 930185004 675345122 224357118 308675487 321295795 259490125 -340101740 -896852100 -195782177 -33056908 632458503 218622176 589289787 -794758090 -493386639 147223359 -397404377 -927740807 -820412666 469700568 -25069657 -652082394 -749250...
result:
ok T=50000 (50000 test cases)
Test #13:
score: 0
Accepted
time: 27ms
memory: 3888kb
input:
50000 75983688 322870644 646834996 801552184 519110129 -976686263 -819619684 -828820558 570394281 246976850 519558688 367109464 621047758 927882674 148954683 991061997 88827271 210457738 -857995083 -457237784 112341241 -890456500 223281366 792319429 -102888330 389111504 665082474 -58495814 -70874021...
output:
124421971 363488072 440033434 -967952065 548615142 298444429 401290321 957292396 -763040864 -390276430 120504822 -766628646 507451937 33378228 -700454338 389811435 -135764425 291300188 225399071 -689437667 503406712 -698931583 885484900 -568892032 -313282311 -504531801 76004778 506588337 487805210 -...
result:
ok T=50000 (50000 test cases)
Test #14:
score: 0
Accepted
time: 27ms
memory: 3952kb
input:
50000 -805634427 81825426 509577423 -396279363 -267738158 -532191054 179134956 521282089 893958536 -637235181 -336434702 -730924494 209380302 -981860939 -104731724 351669816 693569118 -145872073 215960733 -538852028 278991643 856418697 472101398 561793859 773440456 -666647571 296326173 621945233 -88...
output:
303023350 -321192987 -210461353 -397164860 -13261347 -706316191 113918677 -576588290 228549596 -528493812 395071181 679317778 630397772 -280317126 -884801087 -292336810 48638543 -452639985 495747151 -964398932 769748239 294841225 -867689583 -642392815 188506504 -801148575 -468264999 -399299 15775306...
result:
ok T=50000 (50000 test cases)
Test #15:
score: 0
Accepted
time: 26ms
memory: 3872kb
input:
50000 725941728 -610067425 488068370 -504082729 476613211 -620476119 476920048 -111480150 245593358 -660602217 471175896 888995542 280795134 -289504448 -967836825 -760152213 -486471673 -224674228 934607251 -450295850 -694176146 751372343 -891227475 -364721717 830792306 -773436907 523127672 424703167...
output:
717135572 -606143834 476651067 -557678766 343465219 11710533 -742206059 -675105042 842953566 -435744193 -797629850 165413014 787056637 -603116851 783864319 -664629310 -642210137 244943527 712961166 700340428 -28604299 -665762004 -175178321 -579921966 -585521082 -707478112 545516141 -446733236 -27945...
result:
ok T=50000 (50000 test cases)
Test #16:
score: 0
Accepted
time: 19ms
memory: 3876kb
input:
50000 104556371 -685734071 -731906759 -604652123 396789892 -935692027 -576229790 -207110549 -578953998 541207525 -516985486 542399334 -878495739 -596088045 119106374 -251106029 -363926466 866046756 158763085 -478051966 599120280 -275757280 -282204734 820871313 -588932159 -793669810 680396515 -770178...
output:
-74287230 -668397996 286211073 -852892387 -566428685 541448418 -724581846 -542862892 39777135 -172079017 339388877 47425290 -487387873 -791790559 25503449 -386709974 -28293103 -76927046 610741043 -236309487 166080273 12678217 393919821 63125575 -323578275 -855352531 725695945 231652421 357618788 -16...
result:
ok T=50000 (50000 test cases)
Test #17:
score: 0
Accepted
time: 27ms
memory: 3816kb
input:
50000 -913971105 -802525545 -62443082 646851152 582546207 -691701688 -263954188 574883995 -88743623 992720648 272194515 -762942323 -840733072 -332078482 -575663610 244914353 440623464 752008161 -470122956 920792991 -757686511 643488102 708042881 -627877550 185019277 307661180 -692173668 848015507 75...
output:
-742587546 -510815431 497552195 -564528447 152007220 -178331385 -713707125 -55573370 436084361 752849374 653495110 -580563112 -117355765 493925403 71809512 348876159 -805398146 249945576 235980749 -417818925 -438801981 -754840334 -59013458 -874395483 353137138 -23187480 361737954 -369236565 72098126...
result:
ok T=50000 (50000 test cases)
Test #18:
score: 0
Accepted
time: 26ms
memory: 3816kb
input:
50000 185492989 3104323 -418943377 -567314244 -716676172 339998445 -419312863 -525301490 -610060612 777476899 -418834808 -571211717 39944725 -455257290 -829398804 201165129 -466129455 -464184034 735772464 931681523 -466599024 -740319024 563884212 3148693 -505528308 -808674422 -6340257 -358696593 -85...
output:
-295461280 -450781744 -454786052 -422077766 -419056833 -569645806 -123156079 -332103415 -308648488 -281288696 -230813939 -570206020 -430986539 -741481020 599325617 104341415 390402063 -496376902 -875241686 -881746199 153342368 -193102195 -815413403 -128364793 -345926635 -495797061 154718475 -2155749...
result:
ok T=50000 (50000 test cases)
Test #19:
score: 0
Accepted
time: 26ms
memory: 3888kb
input:
50000 -474636599 -626920443 712875021 -348747799 -342048305 37518714 -249508888 482083100 -410519206 -225607946 27339059 407774804 -345676873 559668812 88853181 453485769 999517103 522173138 135806165 -45307125 -285232985 -711392209 656546715 686223071 -736883128 630709030 260930401 -627544060 34322...
output:
-336085368 -594465045 -307990953 201132083 -407219196 -220834325 -4788996 476368447 515582632 204215765 -262353729 -677439048 -106487404 -164226441 148661394 -243966047 -49694672 -333729644 -807975218 -806255815 152518387 -144927251 -111273100 54019454 525173708 907860665 -321051363 -781665466 43310...
result:
ok T=50000 (50000 test cases)
Test #20:
score: 0
Accepted
time: 22ms
memory: 3876kb
input:
50000 626800159 776374206 -41956635 417375236 -536924579 414783144 847473468 181350188 103033152 456387414 906877647 -901512211 784792043 -200142589 761424984 571942095 -319313812 593906734 -329157602 -688825321 790537948 -567376329 -989657217 -909342264 82546755 272767210 -982948739 -187576605 3536...
output:
23227599 452367139 447870837 248729959 842726632 -793144685 775059674 121430316 -329130189 -685253167 -921270496 -896205542 -494772994 23338116 -205243063 -633587586 744906586 -658899292 -429161671 365066184 -579892777 -628260594 -739378607 -176021572 -468728539 -339995636 486197738 118464614 271013...
result:
ok T=50000 (50000 test cases)
Test #21:
score: 0
Accepted
time: 0ms
memory: 3812kb
input:
3 -1000000000 -1000000000 1000000000 1000000000 -1000000000 -1000000000 1000000000 -1000000000 -1000000000 -1000000000 -1000000000 1000000000
output:
-999999999 -1000000000 -1000000000 -999999999 -999999999 -1000000000
result:
ok T=3 (3 test cases)