I don't believe so. According to NZXT, the max clearance (height) for a cpu cooler is 161mm. The Cooler Master V8 GTS is 166.5mm tall. The V8 wasn't listed because pcpartpicker will filter out coolers that are not compatible with your setup. At the top of the filters, there is a checkbox to enable/disable the compatibility filter.
As for the ram, I'm not sure if pcpartpicker filters out cpu coolers for ram clearance. I'd just build it with the stock cooler, measure it to see what clearance you have to play with, then find a cpu cooler that will work. That's what I did with the same case. Stock cooler will be fine unless you overclock and don't mind the noise for a while.
You can also look to see if there are other completed builds on pcpartpicker with the same motherboard, ram, and case. Then see what cpu cooler they used.
Sources:
http://support.nzxt.com/hc/en-us/articles/203310114-What-Can-I-Fit-Into-An-S340-
http://www.coolermaster.com/cooling/cpu-air-cooler/v8-gts/