link to problem : ELOMAX Problem - CodeChef
WA : CodeChef: Practical coding for everyone
IF ANY INTELLIGENT PERSON CAN FIND MISTAKE … PLZ TELL …
link to problem : ELOMAX Problem - CodeChef
WA : CodeChef: Practical coding for everyone
IF ANY INTELLIGENT PERSON CAN FIND MISTAKE … PLZ TELL …
Try this test case.
1
5 5
2583 2667 2652 2650 2648
-10 3 10 5 -10
8 9 3 -10 -8
-9 -4 9 10 5
2 4 -8 4 -6
-6 -6 -9 6 -4
5
4
I think it’s concise enough for you to debug this code.
clickbait ???
2583 2667 2652 2650 2648
2573 2576 2586 2591 2581 = 4
2675 2684 2687 2677 2669 = 3
2643 2639 2648 2658 2663 = 5
2652 2656 2648 2652 2646 = 2
2642 2636 2627 2633 2629 = 1
5 5 4 5 5 = 3
1 1 1 1 1 = 1
3 3 2 2 2 = 3
2 2 2 3 3 = 1
4 4 3 4 4 = 3
here i write the rating table as well as the ranking table . given in the question u have to see the first highest rank month and not the later one. according to me , answer should be 5 only thats what my code output.
is there something i am missing .?? how is the correct output 4 ??
Note the rank of the players, I think many people made the mistake in computing ranks
oh got it… here what i am missing…
sorry … silly error
“U can’t solve this” - bloody hell, title your post better next time.
Try to fix your language, before commenting on others is all I’ll say.