Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

Trace of Matrix(Problem Code: TRACE)-Beginners(Practice Problems)- C Language

$
0
0

Link to the Problem: https://www.codechef.com/problems/TRACE

Can somebody tell me what is wrong with the following solution? I have generated matrices with random numbers(99 test cases with matrices of all sizes from 2X2 to 100X100), used them as the input to compare my output with codechef-declared-correct solutions. I have even checked the corner cases. All my outputs are matching with the codechef-declared-correct solutions. When I submit I keep getting "Wrong Answer". Here is my solution:

Link to my solution: https://www.codechef.com/viewsolution/18892138 -Link to my solution


Viewing all articles
Browse latest Browse all 39796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>