http://www.spoj.com/problems/BORING2/
The problem asks to compute
for prime P
where

Unfortunately,
doesnt pass!
Whats the approach for BORING2 — Wilson's Theorem?
http://www.spoj.com/problems/BORING2/
The problem asks to compute
for prime P
where

Unfortunately,
doesnt pass!