#include<bits/stdc++.h> using namespace std; int main() { int m, n, number = 0; for(m = 0; m <= 3; m ++) { for(n = 0; n <= 3; n ++) { if(8 - m - n <= 6) number ++; } } cout << number; }
标签:std,daka,int,namespace,number,main From: https://www.cnblogs.com/kongxiangzeng/p/17379933.html