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 dmehrab06 Cpp 0.00s
02 njrafi Cpp 0.00s
03 swapnil Cpp14 0.00s
04 demon Cpp 0.00s
05 alttlprgrmmng C 0.00s
06 hashtag33 Cpp 0.00s
07 mahbubcseju Cpp14 0.00s
08 Mahmudul_Tushar Cpp 0.00s
09 akib9ctg Cpp 0.00s
10 Double_O Cpp14 0.00s
11 swapnilsaha Cpp 0.00s
12 ksohan Cpp 0.00s
13 Zeronfinity Cpp14 0.00s
14 nasif2587 Cpp14 0.00s
15 nkrt5810 C 0.00s
16 ArifKhanShubro C 0.00s
17 shawon100 Cpp14 0.00s
18 mtmohim Cpp 0.00s
19 Titanium_Owner Cpp14 0.00s
20 zakilive C 0.00s
21 haasib Cpp 0.00s
22 simantaturja Cpp 0.00s
23 oasiscse Cpp 0.00s
24 Jisancse C 0.00s
25 emrul Cpp14 0.00s
26 Abrar535 C 0.00s
27 sherina Cpp 0.00s
28 tariqiitju Cpp 0.00s
29 LaZy_cOdEr Cpp14 0.00s
30 sazal_dev Cpp 0.00s
31 7Mahfuz Cpp 0.00s
32 ronok_cse Cpp 0.00s
33 Mr_adnan Cpp14 0.00s
34 reza_ul Cpp14 0.00s
35 Masum_ice Cpp14 0.00s
36 MAHRahat C 0.00s
37 sakib_ruet_13 Cpp 0.00s
38 ssavi Cpp14 0.00s
39 badhansen123 Cpp14 0.00s
40 subhashis_cse Cpp 0.00s
41 aseem_cu Cpp 0.00s
42 anikatahsin Cpp 0.00s
43 shaeekh C 0.00s
44 Nazmul_WUB C 0.00s
45 rabel Cpp14 0.00s
46 asad_IT C 0.00s
47 Shakil_Mahmud Cpp 0.00s
48 t0whid Cpp 0.00s
49 Pure_Protea C 0.00s
50 Knight_King Cpp 0.00s

Your feedback is our precious!

Or call +88 02 9853138 for support