Compounds having a high conductance-type of calcium-activated K channel opening effect and a smooth muscle relaxant effect for bladder based on the K-channel opening effect, which can be used in treating pollakiuria and urinary incontinence, are provided. 3,5-Dicyanopyridine derivatives or their salts.