Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Bricks
- {
- class Program
- {
- static void Main(string[] args)
- {
- decimal x = decimal.Parse(Console.ReadLine());
- decimal w = decimal.Parse(Console.ReadLine());
- decimal m = decimal.Parse(Console.ReadLine());
- decimal rounds = Math.Ceiling( x / (w * m));
- Console.WriteLine(rounds);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement