### Danny_Phantom's blog

By Danny_Phantom, history, 2 months ago,

is there is anyway to know the test i am getting wrong answer in if it is something like wrong answer in test 1050

• +4

 » 2 months ago, # |   +1 The way is to note down the number of test cases and on which test case the answer is coming wrong. Then you can modify your code to only print something else only on that specific test case . Example codeif(tst == 2880 && t==85){ cout << "n is " << n << endl; cout << "arr is \n"; for (int e = 0; e < n; e++) { cout << arr[e].first.first << " " << arr[e].first.second << endl; arr[e].second = e; } } else if(tst == 2880){ continue; } Look at this for example, you can see the output of test 3 https://codeforces.com/contest/1101/submission/184391178
•  » » 2 months ago, # ^ |   +4 this is so good thank you so much