We consider a classical principal-agent model in the contract theory. A principal designs the payment w = {omega(0), omega(1), ..., omega(n)) to incentivize the agent to enter into the contract. Given the payment w, the agent will take hidden actions from her strategy set Si to finish it and from the perspective of the agent, she will select the best strategy to maximize her expected utility. Due to the hidden strategy set, the principal obtains the expected revenue R(S-t(n)) from the agent. Furthermore, the principal has a non-decreasing revenue function r (k), which is common information, where k is the number of successful tasks in the total n independent tasks. The objective of the problem is to maximize the principal's expected profit, i.e., max(S,w) {R(S-t(n)) - P (S-t(n), w)), where P (S-t(n), w) is the agent's expected payment. The difficulty of this problem is due to the asymmetric information. If the principal knows all the information about the agent, then the optimal contract can be solved by linear programming. Based on Diitting et al. (in: Proceedings of the EC, pp 369-387, 2019), we consider the more general model. When information is asymmetric, we further analyze that the approximation ratio of the linear contract can reach (1 - alpha(N))/(1 - alpha(N)(N)), which improves the results of Diitting et al. (in: Proceedings of the EC, pp 369-387, 2019), where alpha(N) is an element of [0, 1) is a given constant and the coefficient of the linear contract.