Beginner Beginners Problems > Ad-hoc

Everyone may be heard the names of hall of fames of JU programming society ! Did not you know them? They are Shuvon bhai cse-18,Titu bhai cse-18,Najim bhai cse-18.Do you know why they are the hall of fames of JU programming society ?Because they are not only some of the greatest programmers of JU but also the persons for whose JU programming is now on this state ,JU becomes champion on the national contests. They are still now working hard selflessly for the JU Programming Society .Every programmer of JU Programming Society should know their contribution. One day The three great programmers made a problem for the programmers of cse-22 on the first contest of cse-22 .Unfortunately none of the coders of cse-22 can be able to solve the problem.So what is the problem ? The problem is given below to solve .Then solve the problem . You are given two numbers .You have to print the average of them . (Try to avoid using double or floating it may cause precision error ) Input: ------ First line you will be given the test case (T<=10000000) Then for each test case there will be given two numbers A and B Output: ------- For Each test case print the average of A and B. Output will fit in a 64-bit integer . Sample Input: ------------- 2 2 3 3 3 Sample Output: -------------- 2 3

Mahbubur Rahman

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 |

Solve/Submission

# | User | Language | Timing |
---|---|---|---|

01 | evan | Cpp14 | 0.00s |

02 | Rajib_119 | Cpp14 | 0.00s |

03 | rana_cse | Cpp14 | 0.00s |

04 | alhelal_cse | Cpp14 | 0.00s |

05 | Zeronfinity | Cpp14 | 0.00s |

06 | nasif2587 | Cpp14 | 0.00s |

07 | duronto20 | Cpp14 | 0.00s |

08 | mtmohim | Cpp14 | 0.00s |

09 | akazad_cse13_ruet | Cpp14 | 0.00s |

10 | dmehrab06 | Cpp14 | 0.00s |

11 | nuhu_iu | Cpp14 | 0.00s |

12 | imranziad | Cpp14 | 0.00s |

13 | MAHRahat | Cpp14 | 0.00s |

14 | Puja1409 | Cpp14 | 0.00s |

15 | prototype_rakib | Cpp14 | 0.00s |

16 | murad_al_wajed | Cpp14 | 0.00s |

17 | imunir | Cpp14 | 0.00s |

18 | Tanmoy_Datta | Cpp14 | 0.00s |

19 | CLown1331 | Cpp14 | 0.00s |

20 | subhashis_cse | Cpp14 | 0.00s |

21 | sayedgkm | Cpp14 | 0.00s |

22 | taskin1995 | Cpp14 | 0.00s |

23 | n_orbit | Cpp14 | 0.00s |

24 | skmonir | Cpp14 | 0.00s |

25 | aseem_cu | Cpp14 | 0.00s |

26 | MazedRupok | Cpp14 | 0.00s |

27 | nsbzhd | Cpp14 | 0.00s |

28 | anikatahsin | Cpp14 | 0.00s |

29 | Saimum_140128 | Cpp14 | 0.00s |

30 | mhiceiuk | Cpp14 | 0.00s |

31 | mamunparvez | Cpp14 | 0.00s |

32 | Jisancse | Cpp14 | 0.00s |

33 | Yeasin10A | Cpp14 | 0.00s |

34 | Protap_Ghose | Cpp14 | 0.00s |

35 | bpr10ry | Cpp14 | 0.00s |

36 | sazal_dev | Cpp14 | 0.00s |

37 | froghramar | Cpp14 | 0.00s |

38 | Shadab | Cpp14 | 0.00s |

39 | ronok_cse | Cpp14 | 0.00s |

40 | Mr_adnan | Cpp14 | 0.00s |

41 | Masum_ice | Cpp14 | 0.00s |

42 | Knight_King | Cpp14 | 0.00s |

43 | _Lucifer | Cpp14 | 0.00s |

44 | maxhasan | Cpp14 | 0.00s |

45 | robin_aust | Cpp14 | 0.00s |

46 | gazi93 | Cpp14 | 0.00s |

47 | joy25896 | Cpp14 | 0.00s |

48 | nmunim | Cpp14 | 0.00s |

49 | mjtbasif | Cpp14 | 0.00s |

50 | The_mover | Cpp14 | 0.00s |

Copyright © 2015-2016 Dev Skill.

Feedback
#### Your feedback is our precious!

## Thank you for providing feedback! Our developers will be happy :)

## Sorry there was a problem when submitting the feedback. Please try again. :(