Problem Description
Loading...
Problem Analysis
Just compute it directly
There are no twists
Note that int is enough to store the data
When no borrowing is needed (n>res)
Output 0
cpp
| |
Problem link:【CodeForces】[546A]Soldier and Bananas
Just compute it directly
There are no twists
Note that int is enough to store the data
When no borrowing is needed (n>res)
Output 0
| |
Problem link:【CodeForces】[546A]Soldier and Bananas
Loading...