DCP-4: Great!!! The Work Is Done Back to All Problems

Beginner Beginners Problems > Ad-hoc


The Dev Skill team follows the Agile methodology in their development. Agile development is a phrase used in software development to describe methodologies for incremental software development. Agile development is an alternative to traditional project management where emphasis is placed on empowering people to collaborate and make team decisions in addition to continuous planning, continuous testing and continuous integration. To do that, a project is divided in small sprints. After releasing a sprint to client, new features are added to the next sprint and the bugs of previous sprint are fixed. We know that there is a project manager for each project, who sets the deadline for each sprint. Everyone on the development team along with the team lead is aware of this deadline. Now we need a developer on our Dev Skill team. To be on the team, you must know when your project will be complete. So now you must write a code that will tell you when your project is going to be complete. Input: ------ You should take input up to EOF. First line of each input will hold two numbers separated by a single space. First number will denote the total hours to finish the sprint **(0 < CT ≤ 100)** and the second one will be number of members in the team **(0 < N ≤ 100)**. Then the N number of lines will hold the total hours a member can work each day **(0 < P ≤ 24)** Output: ------- Print just single line for each test case. If it takes one day to finish the project then print **“Project will finish within 1 day.”** For more than one days print **“Project will finish within D days.”**, where D denotes the number of days to finish the project. Sample Input ------------ 10 2 5 5 10 2 5 4 Sample Output ------------- Project will finish within 1 day. Project will finish within 2 days.


Problem Setter:

Asraf Uddin Ahmed

Please login to submit solution to this problem.

Problem Limits

Language Time Limit (seconds)
C 1.00
C++ 1.00
C++14 1.00
C# 2.00
Go 2.00
Java 2.00
JavaScript 2.00
Objective-C 2.00
Perl 2.00
PHP 2.00
Python 2.00
Python3 2.00
Ruby 2.00
VB.Net 2.00

Problem Stats

449/2174

Solve/Submission

Ranking

# User Language Timing
01 Mr_KAJOL_JUST Cpp14 0.00s
02 inam Cpp14 0.00s
03 Sharif_42 Cpp14 0.00s
04 MarufAhmed Cpp14 0.00s
05 ranit Cpp14 0.00s
06 atmfaisal Cpp14 0.00s
07 Sabyasachi Cpp14 0.00s
08 joy25896 Cpp14 0.00s
09 Monir_AUST Cpp14 0.00s
10 sukanta Cpp14 0.00s
11 concentrate Cpp14 0.00s
12 maksbd19 Cpp14 0.00s
13 ash12 Cpp14 0.00s
14 Protap_Ghose Cpp14 0.00s
15 kfahim110 Cpp14 0.00s
16 shoumik Cpp14 0.00s
17 shayekh01 Cpp14 0.00s
18 learner Cpp14 0.00s
19 Indro_BU Cpp14 0.00s
20 Tawhidur_Rahman Cpp14 0.00s
21 afzalul Cpp14 0.00s
22 parthapratimbanik Cpp14 0.00s
23 jayed_al_hasan Cpp14 0.00s
24 KratosR Cpp14 0.00s
25 maxhasan Cpp14 0.00s
26 gazi93 Cpp14 0.00s
27 golapraj Cpp14 0.00s
28 Sojal Cpp14 0.00s
29 Logic_Hunter Cpp14 0.00s
30 terminator_c Cpp14 0.00s
31 ammasum Cpp14 0.00s
32 JubayerSohel Cpp14 0.00s
33 jualahmed Cpp14 0.00s
34 adil_reza Cpp14 0.00s
35 Iqbal1013 Cpp14 0.00s
36 rezaul_karim Cpp14 0.00s
37 Sabuj_CSE Cpp14 0.00s
38 Nurul_CSE Cpp14 0.00s
39 tssovi Cpp14 0.00s
40 Dragon_162 Cpp14 0.00s
41 sadia2427 Cpp14 0.00s
42 hedge_hog_ Cpp14 0.00s
43 bafar Cpp14 0.00s
44 mhsjaber Cpp14 0.00s
45 Adyel Cpp14 0.00s
46 abd007 Cpp14 0.00s
47 fahim42 Cpp14 0.00s
48 muhaimin Cpp14 0.00s
49 Not_Found0001 Cpp14 0.00s
50 Rafsan35 Cpp14 0.00s
Feedback

Your feedback is our precious!



Or call +88 02 9853138 for support