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)
- {
- int bricks = int.Parse(Console.ReadLine());
- int workers = int.Parse(Console.ReadLine());
- double volume = double.Parse(Console.ReadLine());
- var res = Math.Ceiling(bricks / (workers * volume));
- Console.WriteLine(res);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment