Help Needed SPOJ : Worms- Play with Digit Seven

Revision en1, by RishabhKejariwal, 2019-06-25 22:05:46

https://www.spoj.com/problems/WORMS/

Can someone please help me with the approach to the above problem.

**Code link:https://ideone.com/qXjfzI**

It's not passing the memory limits of the questions. (Solve the problem by at most 0.5kB of source code)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English RishabhKejariwal 2019-06-25 22:05:46 305 Initial revision (published)