Category Archives: programming

Topcoder SRM 553 Div-II-500 tutorial

The problem Problem statement (requires login) Summary of the statement is: Given an array of non-negative integers program[], an integer wantedResult, and pseudocode of a peculiar program. This program takes program[] as argument, and reads it through. There’s also a stack initially filled with infinite number … Continue reading

Posted in programming | Tagged , , | Leave a comment

Topcoder SRM 551 Div-II-500 tutorial

I didn’t participate in the SRM, but solved this problem later. What follows is strictly a personal account of my attempt to this. I tried to be elaborate to make this accessible to newcomers. Hoping people facing difficulty in solving … Continue reading

Posted in programming | Tagged , , , | Leave a comment