#include #define MAX_N 30 using namespace std; auto K=0; void input(){ scanf("%d", &K); } void solve(){ for(auto c1=0;c1<=MAX_N;c1++){ for(auto c0=0;c0<=MAX_N-c1;c0++){ if((c1*(c1-1)/2<