Sunday, 10 August 2014

SPOJ PROBLEM (CLASSICAL) 5976: TRGRID

the questioon is simply brute force approach
USE PEN PAPER
you would be getting simple logic that if n<m(   m has some conditions )  
if( m<=n)   ( n has some conditions)
question takes time to understand the logic but once you are over with logic task
a simple code is to be encoded........................

No comments:

Post a Comment