#include int main(){ int i, j, k; int n; int cnt = 0; printf("输入:"); scanf("%d", &n); for(i = 1; i < n/3; ++i) for(j = i+1; j < n/2; ++j) for(k = j+1; k < n; ++k) if(3*i+2*j+k==n && i+j+2*k==100) cnt++; printf("输出:%d\n", cnt); return 0;}