|
|
back to boardС# Solution Posted by zak427 12 Jul 2016 17:12 using System; namespace Csharp_2066 { class Program { static void Main(string[] args) { int a = int.Parse(Console.ReadLine()); int b = int.Parse(Console.ReadLine()); int c = int.Parse(Console.ReadLine()); Console.WriteLine(Math.Min((a - b * c), (a - b - c))); } } } |
|
|