You are viewing a single comment's thread. Return to all comments →
Any of you succeed with all the test cases for this problem? I see one of the test cases (Testcase 10) is failing for me.
Input:
6 767
2 488512261 423332742
2 625040505 443232774
1 4553600
4 92134264 617699202 124100179 337650738
2 778493847 932097163
5 489894997 496724555 693361712 935903331 518538304
Expected Output: 763
My Output: 766
I'm sure my output is corret.
Simplified input with squaring inputs and modules 767
4, 100, 287
4, 654, 685
1, 105
16, 560, 295, 64, 536
4, 417, 295
25, 712, 225, 94, 66, 121
One value from each list
100 + 4 + 1 + 536 + 4 + 121 => 766
Looks like the ouput which I got is correct.
or Did I miss something in understanding the problem statement?
Seems like cookies are disabled on this browser, please enable them to open this website
Maximize It!
You are viewing a single comment's thread. Return to all comments →
Any of you succeed with all the test cases for this problem? I see one of the test cases (Testcase 10) is failing for me.
Input:
6 767
2 488512261 423332742
2 625040505 443232774
1 4553600
4 92134264 617699202 124100179 337650738
2 778493847 932097163
5 489894997 496724555 693361712 935903331 518538304
Expected Output: 763
My Output: 766
I'm sure my output is corret.
Simplified input with squaring inputs and modules 767
4, 100, 287
4, 654, 685
1, 105
16, 560, 295, 64, 536
4, 417, 295
25, 712, 225, 94, 66, 121
One value from each list
100 + 4 + 1 + 536 + 4 + 121 => 766
Looks like the ouput which I got is correct.
or Did I miss something in understanding the problem statement?