Archive for the ‘Misc’ Category

SPOJ – NSTEPS

October 8, 2017

Starting from coordinate 0,0 if numbers are added to coordinates alternatively in diagonal (2 lines), find the number that is stored in x,y coordinate. If no number was stored, print “No Number”. (more…)

Advertisements

SPOJ – HMRO

October 3, 2017

Given transitive dependency of some string and duplication of the keys, use the keys that pertains to last value and the final value of the dependency to replace the original values. (more…)

SPOJ – ONP

October 2, 2017

Transform the expression to Reverse Polish Notation. (more…)