Il n'y a pas rien ici,
Cherchez ailleurs.
//heres some c code!
#include
int main(){
printf("== THREES ==\n");
for(int x=1; x<=19; ++x){
for(int y=1; y<=19; ++y){
for(int z=1; z<=19; ++z){
if(x>=y
|| x>=z
|| y>=z){continue;}
if(x+y+z==38){
printf("%d, %d, %d\n",x,y,z);
}
}
}
}
printf("\n== FOURS ==\n");
for(int a=1; a<=19; ++a){
for(int x=1; x<=19; ++x){
for(int y=1; y<=19; ++y){
for(int z=1; z<=19; ++z){
if(a>=x
|| a>=y
|| a>=z
|| x>=y
|| x>=z
|| y>=z){continue;}
if(a+x+y+z==38){
printf("%d, %d, %d, %d\n",a,x,y,z);
}
}
}
}
}
printf("\n== FIVES ==\n");
for(int b=1; b<=19; ++b){
for(int a=1; a<=19; ++a){
for(int x=1; x<=19; ++x){
for(int y=1; y<=19; ++y){
for(int z=1; z<=19; ++z){
if(b>=a
|| b>=x
|| b>=y
|| b>=z
|| a>=x
|| a>=y
|| a>=z
|| x>=y
|| x>=z
|| y>=z){continue;}
if(a+x+y+z==38){
printf("%d, %d, %d, %d, %d\n",b, a,x,y,z);
}
}
}
}
}
}
return 0;
}