QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#621189 | #7811. 一元二次方程 | ucup-team4645# | 0 | 4ms | 3676kb | C++23 | 2.4kb | 2024-10-08 10:45:21 | 2024-10-08 10:45:21 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Pretests
Final Tests
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3580kb
input:
2 1 -1 0 0 1 0 0
output:
00
result:
wrong answer 1st lines differ - expected: '0', found: '00'
Test #2:
score: 0
Wrong Answer
time: 2ms
memory: 3548kb
input:
4838 20 1 -19 5 -2 12 15 1 8 7 1 8 -8 -1 -11 0 -1 -7 -7 -2 -5 8 2 -8 -13 -1 -10 11 -1 -15 0 1 -5 18 -2 -9 13 -1 20 17 1 -17 -3 1 0 1 -2 -4 -2 2 -11 10 1 -2 -1 1 11 -18 -1 11 0 -1 4 16 1 18 3 -2 -3 6 -2 -14 -11 1 -12 12 2 -13 -9 1 -9 -12 1 16 -2 -2 -9 2 2 -2 -1 1 3 -6 -2 11 4 -1 -11 4 -1 13 0 -1 -4 1...
output:
19/2+0*sqrt(341)/1 3+0*sqrt(66)/1 -4-4+0*sqrt(6)/1 -11/2 -7/2+0*sqrt(21)/1 -5/4+0*sqrt(89)/1 2+0*sqrt(42)/1 -5-15/2 NO -9/4+0*sqrt(185)/1 10+0*sqrt(13)/1 17/2+0*sqrt(301)/1 NO -111/4+0*sqrt(41)/1 1+0*sqrt(2)/1 -11/2+0*sqrt(193)/1 11/2 2+0*sqrt(5)/1 -9+0*sqrt(78)/1 -3/4+0*sqrt(57)/1 -7/2+0*sqrt(3)/1 ...
result:
wrong answer 1st lines differ - expected: '19/2+sqrt(341)/2', found: '19/2+0*sqrt(341)/1'
Test #3:
score: 0
Wrong Answer
time: 0ms
memory: 3672kb
input:
4802 1000 86 0 774 203 0 -203 3 0 27 420 0 -420 -256 0 256 -532 0 0 -493 0 -493 664 0 0 51 0 -204 -21 0 -21 223 0 0 -332 0 332 371 0 -371 799 0 0 -544 0 0 -749 0 -749 -26 0 650 -43 0 387 -460 0 -460 21 0 -525 298 0 0 -66 0 66 28 0 700 82 0 -738 109 0 436 207 0 -207 336 0 0 -136 0 -544 -50 0 450 82 0...
output:
NO 0NO 000NO 00NO 00000NO 00NO 000NO 0NO 00NO 0NO 000NO 0NO NO 0000NO 00NO 0NO NO 0NO 00NO 0NO 000000NO NO NO 0NO 0NO 000000NO 00NO NO 0NO 00NO 00NO NO 000000NO NO 0NO NO 00000NO NO 00NO 00NO NO NO NO 0NO 0000NO NO 00NO 000NO 0000000000000NO 000000NO 00NO 0NO 00000000NO NO 0000NO 00NO 00000NO 000NO ...
result:
wrong answer 2nd lines differ - expected: '1', found: '0NO'
Test #4:
score: 0
Wrong Answer
time: 2ms
memory: 3532kb
input:
4084 1000 -413 0 -760 56 0 472 338 0 868 446 0 -769 -268 0 -2 7 0 247 -53 0 593 415 0 284 138 0 983 -357 0 -539 -179 0 -47 414 0 154 -226 0 -963 440 0 -418 -212 0 877 -201 0 -846 300 0 -594 -135 0 -375 204 0 548 265 0 -173 -412 0 717 231 0 -642 -71 0 -260 489 0 469 -305 0 -958 352 0 244 -239 0 86 10...
output:
NO NO NO 0*sqrt(342974)/1 NO NO 0*sqrt(31429)/1 NO NO NO NO NO NO 0*sqrt(95)/1 0*sqrt(46481)/1 NO 0*sqrt(22)/1 NO NO 0*sqrt(45845)/1 0*sqrt(73851)/1 0*sqrt(16478)/1 NO NO NO NO 0*sqrt(20554)/1 0*sqrt(70490)/1 NO NO 0*sqrt(201815)/1 NO NO 0*sqrt(1938)/1 0*sqrt(2146)/1 0*sqrt(3311)/1 NO NO 0*sqrt(182)...
result:
wrong answer 4th lines differ - expected: 'sqrt(342974)/446', found: '0*sqrt(342974)/1'
Test #5:
score: 0
Wrong Answer
time: 2ms
memory: 3608kb
input:
5000 1000 12 -564 0 158 632 0 7 658 0 -16 832 0 487 -487 0 430 430 0 -2 412 0 -59 -472 0 284 -852 0 -455 -910 0 -29 29 0 -2 760 0 81 -243 0 5 -360 0 -145 435 0 247 -988 0 -61 -244 0 4 -520 0 -9 -927 0 10 -900 0 -307 0 0 -1 692 0 1 787 0 42 378 0 11 -704 0 -1 392 0 1 -537 0 3 567 0 -86 -860 0 192 768...
output:
47/2 -2-47261/2 -1/2 103-43/2 -11/2 1903/2 363/2 2-265-103/2 450346-787/2 -9/2 32196537/2 -189/2 -5-2-387-71/2 1/2 -6-25/2 11/2 609/2 133/2 73-1/2 -248-5-48040-271-363-847/2 10-43/2 -5/2 -7-7/2 3413/2 0-1-1579/2 1/2 103/2 -14385/2 -7/2 -35/2 0-807/2 9/2 -5/2 -5/2 3/2 -2333-25-1-5-12030-779/2 -139/2 ...
result:
wrong answer 1st lines differ - expected: '47', found: '47/2'
Test #6:
score: 0
Wrong Answer
time: 4ms
memory: 3584kb
input:
5000 1000 391 -246 0 435 908 0 -395 555 0 18 -412 0 -40 -24 0 -49 -510 0 297 -440 0 -484 -122 0 -205 -603 0 440 434 0 -423 103 0 -121 657 0 109 818 0 426 -401 0 201 -937 0 77 923 0 98 785 0 -74 524 0 -168 -52 0 417 -224 0 385 100 0 37 -762 0 -346 573 0 -147 68 0 -275 359 0 -59 966 0 115 340 0 159 -3...
output:
123/391 -454/435 111/158 103/9 -3/10 -255/49 20/27 -61/484 -603/410 -217/440 103/846 657/242 -409/109 401/852 937/402 -923/154 -785/196 131/37 -13/84 112/417 -10/77 381/37 573/692 34/147 359/550 483/59 -34/23 365/318 -241/176 326/181 -358/375 477/113 -995/188 366/107 815/486 509/558 -386/283 -55/296...
result:
wrong answer 1st lines differ - expected: '246/391', found: '123/391'
Test #7:
score: 0
Wrong Answer
time: 2ms
memory: 3672kb
input:
5000 1000 -2 -328 330 -7 -987 0 6 -72 -510 -3 6 504 -9 837 0 -3 489 0 -10 -760 -750 -3 471 -468 1 57 -118 4 -120 644 6 -18 -648 -1 31 32 -2 -48 -88 1 -1 7 6 162 156 -4 108 -704 1 -8 -209 7 154 -525 2 430 428 1 -44 448 -3 -51 -126 7 -420 -868 1 -189 920 1 40 375 -1 80 -231 -4 -76 864 -1 -33 -90 1 -39...
output:
-82-141/2 6193/2 163/2 -38157/2 -57/2 153/2 31/2 -12NO -27/2 27/2 4-11-215/2 22-17/2 30189/2 -2040-19/2 -33/2 39/2 7-19617/2 129/2 -155/2 -5380-39/2 7-643/2 -45-377/2 -69315/2 -8-108-31-137/2 51/2 -383-57/2 6234216NO 55116-265/2 -305/2 -59/2 NO -3/2 229/2 71/2 41-217-216NO 1959/2 18-17/2 113/2 233/2...
result:
wrong answer 1st lines differ - expected: '1', found: '-82-141/2'
Test #8:
score: 0
Wrong Answer
time: 2ms
memory: 3552kb
input:
5000 1000 8 -352 -736 -1 -10 264 7 119 420 -4 188 -528 -8 -616 624 -1 609 610 1 881 880 7 588 581 -2 254 780 1 85 -546 -8 -248 -240 2 -718 -720 -3 123 -930 -5 -425 430 1 -104 -212 6 -168 162 1 105 950 -6 -510 0 -9 -423 -414 1 -313 0 -5 -750 0 2 -652 650 2 -270 532 -1 85 450 -3 57 870 -1 -804 -803 1 ...
output:
22-5-17/2 47/2 -77/2 609/2 -881/2 -42127/2 -85/2 -31/2 359/2 41/2 -85/2 5214-105/2 -85/2 -47/2 313/2 -75163135/2 85/2 19/2 -402160113/2 210-7-69-63-197/2 9/2 71/2 65/2 66-4289/2 10733-93-17-1/2 -61/2 -417/2 -89/2 1046177/2 -147-21-147/2 -1963/2 173/2 11/2 -42-39/2 9/2 -61/2 -160-323/2 -61/2 -57/2 -2...
result:
wrong answer 1st lines differ - expected: '46', found: '22-5-17/2'
Test #9:
score: 0
Wrong Answer
time: 2ms
memory: 3576kb
input:
5000 1000 -4 48 48 -10 -140 -540 16 96 104 -6 -60 -150 -2 -1 -5 -5 -20 -20 81 -324 144 -6 84 -780 256 -768 -624 144 576 -153 400 600 -287 1 -4 102 -4 -24 -36 36 -72 32 9 -180 868 -7 14 -903 5 -90 450 400 320 -236 8 -32 40 5 -80 480 -6 -12 372 9 18 -15 6 -60 366 3 -6 963 1 -12 -160 -7 0 0 -1 -14 441 ...
output:
6+0*sqrt(3)/1 NO -3+0*sqrt(10)/1 -5NO -22+0*sqrt(5)/1 NO 3/2+0*sqrt(3)/1 -2-3/4+0*sqrt(2)/1 NO -3110+0*sqrt(2)/1 NO NO -2/5+0*sqrt(3)/1 NO NO -1+0*sqrt(7)/1 -1+0*sqrt(6)/1 NO NO 60-7+0*sqrt(10)/1 NO NO 1+0*sqrt(3)/1 02NO NO NO 8+0*sqrt(5)/1 -9+0*sqrt(7)/1 1+0*sqrt(2)/1 610+0*sqrt(3)/1 NO 7NO 4-3/2 N...
result:
wrong answer 1st lines differ - expected: '6+4*sqrt(3)', found: '6+0*sqrt(3)/1'
Test #10:
score: 0
Wrong Answer
time: 2ms
memory: 3676kb
input:
5000 1000 225 150 -299 -2 16 -8 4 8 -252 4 -24 -540 5 10 -3 2 20 -538 4 48 -144 4 16 -11 -4 -24 828 3 60 84 4 9 5 8 -64 -264 -5 -80 940 -8 -128 64 6 -12 582 25 30 -16 36 -180 -927 -10 60 160 -3 3 -10 6 -108 -474 25 -250 282 9 144 495 4 -80 144 1 -14 54 -5 -60 -175 4 -40 52 16 -160 240 1 -16 145 36 -...
output:
-1/3 4+0*sqrt(3)/1 -13-1+0*sqrt(10)/1 -5+0*sqrt(6)/1 -6+0*sqrt(2)/1 -2+0*sqrt(3)/1 -3+0*sqrt(6)/1 -10+0*sqrt(2)/1 -9/8 4-8+0*sqrt(7)/1 -8+0*sqrt(2)/1 NO -3/5 5/2+0*sqrt(2)/1 3NO 9+0*sqrt(10)/1 5+0*sqrt(7)/1 -810NO -65+0*sqrt(3)/1 5+0*sqrt(10)/1 NO 7/3 -5/8+0*sqrt(57)/1 -1+0*sqrt(6)/1 -56+0*sqrt(3)/1...
result:
wrong answer 1st lines differ - expected: '13/15', found: '-1/3'