SPOJ Visit The Zoo Problem

Revision en1, by LaughIsLife, 2022-04-15 08:28:01

I have tried brute force, but later for understanding the large input file, I realize my implementation won't work.

Would you please help me get the idea for solving this problem? Problem Link: https://www.spoj.com/problems/ZOOTICKET/

Tags spoj, math

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English LaughIsLife 2022-04-15 08:28:01 266 Initial revision (published)