horrible inclusion-exclusion

Revision en2, by vsanjay_nitdgp, 2015-08-03 09:12:29

recently....i came across a problem on spoj...NGM2.. http://www.spoj.com/problems/NGM2/

i think many dont concentrate on this topic.....i am one.....i know how to solve this problem....but couldnt write code.....could any one post code for this problem in c.

Tags inclusion-exclusion

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English vsanjay_nitdgp 2015-08-03 09:12:29 9
en1 English vsanjay_nitdgp 2015-08-03 06:55:57 281 Initial revision (published)