Https://ide.codingblocks.com/s/197069

But when i save the predictions according to the sample submission then when i submit it i get “Errored !”

Here is the link to my csv file : https://drive.google.com/open?id=1ewdHzT_zQEVh14i9zvv9BHeW6kUJBl4H

Hey @Aayush,
The number of test cases is 10k and the output you saved in your file has 40k rows. You need to have 10k rows in order to run it successfully.
I hope it helps!