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 | mamun4122 | Cpp14 | 0.00s |

02 | BishalG | Cpp14 | 0.00s |

03 | nuhu_iu | Cpp14 | 0.00s |

04 | imranziad | Cpp14 | 0.00s |

05 | ksohan | Cpp14 | 0.00s |

06 | Zeronfinity | Cpp14 | 0.00s |

07 | nasif2587 | Cpp14 | 0.00s |

08 | duronto20 | Cpp14 | 0.00s |

09 | mtmohim | Cpp14 | 0.00s |

10 | akazad_cse13_ruet | Cpp14 | 0.00s |

11 | zitul_mahmud | Cpp14 | 0.00s |

12 | alhelal_cse | Cpp14 | 0.00s |

13 | MAHRahat | Cpp14 | 0.00s |

14 | prototype_rakib | Cpp14 | 0.00s |

15 | murad_al_wajed | Cpp14 | 0.00s |

16 | imunir | Cpp14 | 0.00s |

17 | ssavi | Cpp14 | 0.00s |

18 | skmonir | Cpp14 | 0.00s |

19 | subhashis_cse | Cpp14 | 0.00s |

20 | taskin1995 | Cpp14 | 0.00s |

21 | n_orbit | Cpp14 | 0.00s |

22 | nsbzhd | Cpp14 | 0.00s |

23 | mamunparvez | Cpp14 | 0.00s |

24 | Yeasin10A | Cpp14 | 0.00s |

25 | Biprodas | Cpp14 | 0.00s |

26 | Jisancse | Cpp14 | 0.00s |

27 | emrul | Cpp14 | 0.00s |

28 | froghramar | Cpp14 | 0.00s |

29 | Shadab | Cpp14 | 0.00s |

30 | ronok_cse | Cpp14 | 0.00s |

31 | Mr_adnan | Cpp14 | 0.00s |

32 | Masum_ice | Cpp14 | 0.00s |

33 | MamunAmin | Cpp14 | 0.00s |

34 | orpib | Cpp14 | 0.00s |

35 | _Lucifer | Cpp14 | 0.00s |

36 | maxhasan | Cpp14 | 0.00s |

37 | gazi93 | Cpp14 | 0.00s |

38 | joy25896 | Cpp14 | 0.00s |

39 | adamantium | Cpp14 | 0.00s |

40 | nmunim | Cpp14 | 0.00s |

41 | sidratul_tutul | Cpp14 | 0.00s |

42 | mjtbasif | Cpp14 | 0.00s |

43 | Dinar | Cpp14 | 0.00s |

44 | rezaulhsagar | Cpp14 | 0.00s |

45 | johnbrightnew01 | Cpp14 | 0.00s |

46 | imh1j4l | Cpp14 | 0.00s |

47 | mohibur | Cpp14 | 0.00s |

48 | burhan103335 | Cpp14 | 0.00s |

49 | afzalul | Cpp14 | 0.00s |

50 | marineCoder | 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. :(