QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#290902 | #7811. 一元二次方程 | ucup-team1005 | 0 | 4ms | 3684kb | C++20 | 1.2kb | 2023-12-25 20:01:49 | 2023-12-25 20:01:50 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3608kb
input:
2 1 -1 0 0 1 0 0
output:
result:
wrong answer 1st lines differ - expected: '0', found: ''
Test #2:
score: 0
Wrong Answer
time: 2ms
memory: 3684kb
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+sqrt(341)/2 3+sqrt(66)/2 -1 -4+2*sqrt(6) -11 -7/2+sqrt(21)/2 -5/4+sqrt(89)/4 2+sqrt(42)/2 -11 -15 NO -9/4+sqrt(185)/4 10+sqrt(13) 17/2+sqrt(301)/2 NO -1 11/4+sqrt(41)/4 1+sqrt(2) -11/2+sqrt(193)/2 2+sqrt(5) -9+sqrt(78) -3/4+sqrt(57)/4 -7/2+sqrt(3)/2 6+2*sqrt(6) 13/4+sqrt(241)/4 9/2+sqrt(129)/2...
result:
wrong answer 5th lines differ - expected: '0', found: '-11'
Test #3:
score: 0
Wrong Answer
time: 2ms
memory: 3608kb
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 1 NO 1 -1 NO 2 NO -1 1 NO -5 -3 NO 5 -1 NO 3 NO 1 NO -3 NO 8 2 NO NO NO -1 1 NO 1 NO NO NO NO -1 NO NO -1 -2 2 3 NO NO NO NO 1 NO -11 -1 -1 2 NO NO NO NO NO NO NO 8 -1 -1 -2 NO NO NO NO 2 4 2 NO NO 1 -3 NO 1 -2 NO NO NO NO NO 2 1 -1 NO NO 4 NO -1 NO -1 -1 ...
result:
wrong answer 5th lines differ - expected: '1', found: '-1'
Test #4:
score: 0
Wrong Answer
time: 2ms
memory: 3556kb
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 sqrt(342974)/446 NO NO sqrt(31429)/53 NO NO NO NO NO NO sqrt(95)/10 sqrt(46481)/106 NO 3*sqrt(22)/10 NO NO sqrt(45845)/265 sqrt(73851)/206 sqrt(16478)/77 NO NO NO NO sqrt(20554)/239 sqrt(70490)/106 NO NO sqrt(201815)/223 NO NO sqrt(1938)/38 sqrt(2146)/37 3*sqrt(3311)/77 NO NO sqrt(182)/13 N...
result:
wrong answer 62nd lines differ - expected: '2*sqrt(35209)/257', found: 'sqrt(35209)/257'
Test #5:
score: 0
Wrong Answer
time: 2ms
memory: 3532kb
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 1 -8 3 -2 3 72 4 -4 130 -103 90 64 537 -10 -14 1 -25 609 133 -496 80 -847 20 -43 682 -2 -2 114 9 1 103 385 -7 -35 -807 -5 6 -50 -2 -240 -779 -139 -6 663 183 60 -20 671 12 -1 2 -28 6 14 -18 12 -15 -5 -3 -12 -12 -788 -65 -319 ...
result:
wrong answer 2nd lines differ - expected: '0', found: ''
Test #6:
score: 0
Wrong Answer
time: 4ms
memory: 3588kb
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:
246/391 206/9 -3/5 -510/49 40/27 -61/242 -603/205 401/426 937/201 -13/42 224/417 762/37 365/159 -241/88 652/181 -995/94 815/243 509/279 -187 68/79 -128/127 -203/33 -11/91 -230/297 241/140 553/298 219/412 -462/305 -786/59 444/343 -917/416 907/326 -7/246 -354/...
result:
wrong answer 2nd lines differ - expected: '0', found: ''
Test #7:
score: 0
Wrong Answer
time: 2ms
memory: 3608kb
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:
-165 -141 17 -12 -75 1 2 23 12 -1 -22 NO -1 11 19 3 -1 28 -14 62 184 -15 3 -27 -30 31 4 -1 20 122 1 -106 160 2 -14 -643 -90 -378 3 1 -13 1 -1 11 -20 10 40 85 24 NO 109 -1 -266 -303 -39 NO 11 3 -24 14 -2 1 -1 NO -3 -1 28 -11 112 1 -4 68 -490 12 9 -88 1 -2 192 -1 86 6 -469 -28 38 -11 -1 -17 33...
result:
wrong answer 1st lines differ - expected: '1', found: '-165'
Test #8:
score: 0
Wrong Answer
time: 0ms
memory: 3592kb
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:
46 -22 -5 3 -78 -1 -1 -1 -3 6 -30 360 10 -86 106 27 -10 -85 -46 313 -150 325 133 -5 -10 -803 321 -1 -17 -2 -125 -5 4 -3 -1 131 -1 289 210 -1 -5 5 9 -60 -415 1 207 -6 181 -295 -42 -43 60 -4 -1 10 -37 -3 -11 -321 2 -2 -8 -225 -195 -23 -25 76 3 5 NO 11 -16 8 -102 -401 26 11 9 64 -3 -8 -1 2 50 -1 -1...
result:
wrong answer 2nd lines differ - expected: '12', found: '-22'
Test #9:
score: 0
Wrong Answer
time: 0ms
memory: 3556kb
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+sqrt(3) NO -3+sqrt(10)/2 -5 NO -2 2+2*sqrt(5)/3 NO 3/2+5*sqrt(3)/4 1/4 -3/4+4*sqrt(2)/5 NO -3 4/3 10+4*sqrt(2)/3 NO NO -2/5+sqrt(3)/2 NO NO -1+sqrt(7) -1+2*sqrt(6)/3 NO NO 20 -7+sqrt(10) NO NO 1+4*sqrt(3) 3/2 2 NO NO NO 8+sqrt(5) -9+sqrt(7) 1+sqrt(2) 10+sqrt(3) NO 3 NO 5 9/2 NO -21 -5+6*sqrt(2)...
result:
wrong answer 1st lines differ - expected: '6+4*sqrt(3)', found: '6+sqrt(3)'
Test #10:
score: 0
Wrong Answer
time: 2ms
memory: 3588kb
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:
13/15 4+sqrt(3) 7 15 -1+2*sqrt(10)/5 -5+7*sqrt(6) -6+6*sqrt(2) -2+3*sqrt(3)/2 -3+sqrt(6) -10+6*sqrt(2) -1 11 -8+sqrt(7) -8+sqrt(2) NO 2/5 5/2+4*sqrt(2) -2 NO 9+4*sqrt(10) 5+7*sqrt(7)/5 -5 18 NO -7 5+2*sqrt(3) 5+sqrt(10) NO 23/6 -5/8+sqrt(57)/8 -1+3*sqrt(6) -7 6+7*sqrt(3) 9+5*sqrt(5)/3 NO NO -8+2*sqr...
result:
wrong answer 2nd lines differ - expected: '4+2*sqrt(3)', found: '4+sqrt(3)'