QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#347701 | #8061. Add or Multiply | HuangHanSheng | WA | 219ms | 38896kb | C++14 | 3.0kb | 2024-03-09 14:58:34 | 2024-03-09 14:58:35 |
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: 1ms
memory: 3684kb
input:
3 4 2+3*4 s 1 2 a f 2 a
output:
14 11 10 24 9
result:
ok 5 lines
Test #2:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
15 11 8*5*5*5*8*5*5*5*8*5*5*5+1+2+3 f 14 s 15 15 s 1 1 s 15 1 s 1 15 f 13 f 1 a f 1 f 12 a
output:
1000000006 0 0 0 375000017 0 1000000006 125000014 101 74 75 999999965
result:
ok 12 lines
Test #3:
score: 0
Accepted
time: 120ms
memory: 38896kb
input:
200000 200000 3*5*6*3*7*3*4*7*2*9*2*7*5*9*2*9*5*4*6*3*7*2*8*6*6*8*4*2*4*5*5*8*9*4*9*2*7*5*4*3*9*4*8*5*5*6*5*3*8*5*9*2*7*8*8*6*7*6*6*5*7*8*3*7*3*5*9*3*7*5*6*8*2*5*6*5*2*9*7*8*7*4*9*3*9*5*4*5*4*3*4*4*9*6*4*5*4*8*9*8*5*9*9*9*8*6*9*6*5*8*5*5*6*9*2*6*9*6*5*4*7*6*5*4*8*3*5*8*5*5*5*7*4*2*4*8*2*5*6*3*9*7*5*...
output:
454019263 484673093 1099983 1099976 454019263 779145621 1099999 1099976 454019263 922488446 1099979 1099976 454019263 125627827 1100003 1099976 454019263 457373538 1100005 1099976 454019263 49928396 1100017 1099976 454019263 361222530 1099999 1099976 454019263 267241834 1099993 1099976 454019263 911...
result:
ok 200001 lines
Test #4:
score: -100
Wrong Answer
time: 219ms
memory: 38784kb
input:
200000 200000 7*5*4+7+2*5*3*3+2*7*3+2+6+8+9*7+3*3+7+3*4*6*4+8+9*5*9*3+3+1+4+6+6+1*2+3*6+9*8*1*6*7*9+2*2+6+3+3*9*3+8*2+7+8+4*3+6+3+9*7*7+2*4*4*9*6*3*1+7+9*2*2+1+8*7+5+8+5+4+1*2+4*8+6+5*7+5+1+3+5+7+3+9+6+1+8+4+9+5+2+4*7*1*3*6*3+8+1*6*9*1+8+6+5+1*8*2*1*5*9+8+7+4+3+9+8*4*9*3*8*1*2*2*2+4+5+6*8*9+8*9+1*9*...
output:
207993422 431704988 586308066 141650561 432048484 577969859 295968131 243091310 976853678 815745172 663385229 195178698 134442353 426481437 53566338 616301793 310359433 967558882 459416401 443250857 975614259 529911590 740699950 374877967 537925728 537925728 26844997 113370692 896742732 104787382 25...
result:
wrong answer 1st lines differ - expected: '408005284', found: '207993422'