Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

What's wrong with this code for INOI 2015 P2

$
0
0

Can somebody please point the error in this code ? Thanks !

I have used the recursion q(n) = 2^n - \sum_{ m | n, m < n} q(m), where q is the number of aperiodic strings of length n.

https://pastebin.com/raw/EXRMmLg0

Thanks !


Viewing all articles
Browse latest Browse all 39796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>