Ram – The Born Detective!! SOLUTION NIRURAM2

Ram – The Born Detective!! SOLUTION NIRURAM2

To spread his dread in the city, he planted N number of delayed bombs which was turned on simultaneously. 
These delayed bombs had an exceptional clock separately which consistently signals at its specific time stretch and at whatever point it experiences the principal blare it shows time with an increase of 5seconds and in every single other signal, it shows time with lost 2seconds. Unsurpassed bombs vibrate when all the clock (of particular delayed bombs) blares simultaneously. Impact occurred at 09:30:00pm; when the delayed bombs experienced their first vibration. 
 
You being investigator Ram find just precisely when the delayed bombs were turned on. (overlooking the quantity of days) 
 
Info Format : 
 
The primary line contains a number T meaning the quantity of experiments. 
 
The accompanying line contains a number N signifying the quantity of delayed bombs. 
 
The last line of the info contains N space-isolated numbers meaning the signal time stretch (like a flash) of every clock. 
 
Limitations: 
 
1<=T<=10 
 
1<=N<=10 
 
1<=N[i]<=60 
 
Yield Format : 
 
For each experiment, the main line of yield should comprise of when the delayed bombs were turned on. (as clarified in the Problem Statement) 
 
Test Input : 
 
 
 
18 21 17 31 
 
Test Output : 
 
03:03:18 am
 

 

THANKS FOR JOINING THE LIVE 
SOLUTIONS WILL BE SHARED HERE SOON

 

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 :

Related :

Leave a Comment

close
error: Content is protected !!