Chef And His House SOLUTIONS ECAUG203

Chef And His House SOLUTIONS ECAUG203

The Chef has purchased N boxes of Tiles. The quantity of tiles present in ith box is (I changes from 1 to N) . The Chef has two houses with N rooms every, whose floors is a square with region (i∗i) ,I shifts from (1….N). He need to disperse equivalent number of tiles from ith box to any two rooms (each room must have a place with one house ) to such an extent that all tiles of ith box is utilized and floor of the two rooms of various houses are tiled totally. 
Since culinary specialist is caught up with doing some different works so he needs your assistance to tally the all out number of rooms of the two houses that will be tiled totally. 
Note : size of each tile present in boxes has length and expansiveness equivalent to 1. 
First line will contain T, number of testcases. At that point the testcases follow. 
Each testcase contains one number N. 
For each testcase print the all out number of rooms of the two houses that will be tiled totally. 
Test Input: 
Test Output: 
The room 2 and 8 of both the houses are totally tiled.

March Long Challenge 2021 Solutions

April Long Challenge 2021 Solutions

Codechef Long Challenge Solutions

February Long Challenge 2021

1. Frog Sort Solution Codechef

2. Chef and Meetings Solution Codechef

3. Maximise Function Solution Codechef

4. Highest Divisor Solution Codechef

5. Cut the Cake Challenge Solution Codechef

6. Dream and the Multiverse Solution Codechef

7. Cell Shell Solution Codechef

8. Multiple Games Solution Codechef

9. Another Tree with Number Theory Solution Codechef

10. XOR Sums Solution Codechef

11. Prime Game Solution CodeChef

12. Team Name Solution Codechef

January Long Challenge 2021

November Challenge 2020 SOLUTION CodeChef

October Lunchtime 2020 CodeChef SOLUTIONS


Related :

Related :

Leave a Comment

error: Content is protected !!
Free Udemy Courses and Hacking Resources Join Us on TelegramClick Here