SPOJ: GSS2 — Can you answer these queries II

Revision en1, by sajalhsn13, 2017-09-30 13:25:52

i don't know what is wrong with my idea. I tried many times but still wrong answer. can anyone tell me what is wrong?

source : http://www.spoj.com/problems/GSS2/

code: https://paste.ofcode.org/32Kc7W5baENjJqs2ckLYFwq

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English sajalhsn13 2017-09-30 13:25:52 267 Initial revision (published)