We consider a simple model of a quasi-one-dimensional conductor in which two order parameters (OP) may coexist, i.e., the superconducting OP ∆ and the OP W that characterizes the amplitude of a chargedensity wave (CDW). In the mean field approximation we present equations for the matrix Green's functions G i k , where the first subscript i relates to the one of the two Fermi sheets and the other, k, operates in the Gor'kov-Nambu space. Using the solutions of these equations, we find stationary states for different values of the parameter describing the curvature of the Fermi surface, µ, which can be varied, e.g., by doping. It is established, in particular, that in the interval µ 1 < µ < µ 2 the self-consistency equations have a solution for coexisting OPs ∆ and W . However, this solution corresponds to a saddle point in the energy functional Φ(∆,W ), i.e., it is unstable. Stable states are: 1) the W-state, i.e., the state with the CDW (W = 0, ∆ = 0) at µ < µ 2 ; and 2) the S-state, i.e., the purely superconducting state (∆ = 0, W = 0) at µ 1 < µ. These states correspond to minima of Φ. At µ < µ 0 = (µ 1 + µ 2 )/2, the state 1) corresponds to a global minimum, and at µ 0 < µ, the state 2) has a lower energy, i.e., only the superconducting state survives at large µ. We study the dynamics of the variations δ∆ and δW from these states in the collisionless limit. It is characterized by two modes of oscillations, the fast and the slow one. The fast mode is analogous to damped oscillations in conventional superconductors. The frequency of slow modes depends on the curvature µ and is much smaller than 2∆/ħ if the coupling constants for superconductivity and CDW are close to each other. The considered model can be applied to high-T c superconductors where the parts of the Fermi surface near the "hot" spots may be regarded as the considered two Fermi sheets. We also discuss relation of the considered model to the simplest model for Fe-based pnictides.