|
|
@ -15,7 +15,9 @@ This means that: |
|
|
|
|
|
|
|
|
|
|
|
There was a vote. There are people who voted positively, negatively, and randomly. |
|
|
|
There was a vote. There are people who voted positively, negatively, and randomly. |
|
|
|
Figure out if the final answer depends on random people or not. |
|
|
|
Figure out if the final answer depends on random people or not. |
|
|
|
If it does print '?' |
|
|
|
If it does, return '?', otherwise the result must be either '+', '-', or '0' |
|
|
|
|
|
|
|
Previous characters stand for outcome of the vote: positive/negative/draw. |
|
|
|
|
|
|
|
Input is always positive. |
|
|
|
|
|
|
|
|
|
|
|
Write a function, `Nauuo`, that returns final result of voting. |
|
|
|
Write a function, `Nauuo`, that returns final result of voting. |
|
|
|
|
|
|
|
|
|
|
|