DCP-351: Epic Battle Back to All Problems

Beginner Beginners Problems > Ad-hoc

Two friends were talking in a field just before noon. They were talking about history. The topic was about an epic battle between Samrat Akbar & Babor. One said, "Once Akbar sent one-third of his army in the battle field, but he didn't come to fight. Babor sent two-third of his army in the battle field and he came in the battle field also. The battle took place just before noon. Then just after noon, Samrat Akbar came to the battle field. The past seems really crazy right?". Other replied, "Yes, indeed it is. And you know, this was the field where those two Samrats had an epic battle. Akbar had **603** army members in total and Babor had **300**." The first one said, "***Let's count how many people were present just before noon at the battle field***". Input: ------ There is **no input** in this problem. Output: ------- Output a single integer, the **total number of people present in the battle field**.

Problem Setter:

Sifat Siddiqi Shishir

Please login to submit solution to this problem.

Problem Limits

Language Time Limit (seconds)
C 2.00
C++ 1.00
C++14 2.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




# User Language Timing
01 nazmulasha Cpp 0.00s
02 sazal_dev Cpp 0.00s
03 sakib_ruet_13 Cpp 0.00s
04 haasib Cpp 0.00s
05 mtmohim Cpp 0.00s
06 t0whid Cpp 0.00s
07 bishal_biswas Cpp 0.00s
08 ihumaunkabir Cpp 0.00s
09 akib9ctg Cpp 0.00s
10 Ghost_Hunter Cpp 0.00s
11 Islam_Rafat Cpp 0.00s
12 johnbrightnew01 Cpp 0.00s
13 Mahmudul_Tushar Cpp 0.00s
14 hashtag33 Cpp 0.00s
15 _GhOstMan_ Cpp 0.00s
16 anikatahsin Cpp 0.00s
17 moshiurDambi Cpp 0.00s
18 farhanshahoriar Cpp 0.00s
19 simantaturja Cpp 0.00s
20 Bruteforcekid Cpp 0.00s
21 mrinmoi Cpp 0.00s
22 njrafi Cpp 0.00s
23 tajri Cpp 0.00s
24 snow_man Cpp 0.00s
25 swapnilsaha Cpp 0.00s
26 ittehad Cpp 0.00s
27 Mimsad Cpp 0.00s
28 nafiamahjabin Cpp 0.00s
29 JubayerSohel Cpp 0.00s
30 kissu_pari_na C 0.00s
31 Ayesha_Sultana Cpp14 0.00s
32 Chayti_Saha98 Cpp14 0.00s
33 ssavi Cpp14 0.00s
34 riad3874 C 0.00s
35 prodipdatta7 C 0.00s
36 emrul Cpp14 0.00s
37 TasrinSultana C 0.00s
38 Ph4ntomPhoton C 0.00s
39 mahbubcseju Cpp14 0.00s
40 dmehrab06 Cpp 0.00s
41 badhansen123 Cpp14 0.00s
42 ksohan Cpp 0.00s
43 iamsadee C 0.00s
44 Pure_Protea C 0.00s
45 Zeronfinity Cpp14 0.00s
46 Initiated Cpp14 0.00s
47 potatupotatu Cpp 0.00s
48 nkrt5810 C 0.00s
49 SM_HEMEL C 0.00s
50 7Mahfuz Cpp 0.00s

Your feedback is our precious!

Or call +88 02 9853138 for support