Re: [code jam] 2021 Round A1: Append Sort

2021-06-02 Thread Samuel Jawahar
Hello , please let me know for which test case it is falling Solution: 46363012 | CodeChef https://www.codechef.com/viewsolution/46363012 My Algorithm:- 1)Nodecount Map contains the number of nodes under this 2)x_at_node it contains x value at each node 3)once x_at_node table populated, suming all

Re: [code jam] Samples: passed, runtime error

2021-06-02 Thread Samuel Jawahar
Hello , please let me know for which test case it is falling Solution: 46363012 | CodeChef https://www.codechef.com/viewsolution/46363012 My Algorithm:- 1)Nodecount Map contains the number of nodes under this 2)x_at_node it contains x value at each node 3)once x_at_node table populated, suming all

[code jam] Bsf

2021-06-02 Thread Samuel Jawahar
Hello , please let me know for which test case it is falling Solution: 46363012 | CodeChef https://www.codechef.com/viewsolution/46363012 My Algorithm:- 1)Nodecount Map contains the number of nodes under this 2)x_at_node it contains x value at each node 3)once x_at_node table populated, suming all

Re: [code jam] 2021 Round 1c: Closest Pick

2021-06-02 Thread Samuel Jawahar
Hello , please let me know for which test case it is falling Solution: 46363012 | CodeChef https://www.codechef.com/viewsolution/46363012 My Algorithm:- 1)Nodecount Map contains the number of nodes under this 2)x_at_node it contains x value at each node 3)once x_at_node table populated, suming all