~/algor $ cat duels/874
Duel #874
A 1v1 battle on the problem «Expression with two operations».
Winner: dilshodbek gulomov
One of the players gave up — the winner gets a technical win.
Expression with two operations
An expression of the form is given, where and are the operations +, - or *. Compute its value by the rules of mathematics: multiplication is done before addition and subtraction, and operations of the same level are done from left to right.
Sample tests
2 + 3 * 4
14
10 - 4 - 3
3
Battle results compared
1v1 reportSubmission timeline (6)
All submissionsdilshodbek gulomov won
One of the players gave up — the winner gets a technical win.