#include <stdio.h> #include <math.h> int main() { int n,a,b,c,mina,minb,minc,s,s1; int max=2000000000; s=max; do { printf("입력: "); scanf("%d", &n); } while (n<1 || n>max); for(a=1;a<=n;a++) { if(n%a>0) continue; for(b=1;b<=n/a;b++) { if((n/a)%b>0) continue; c=(n/a)/b; if(s>(a*b+a*c+b*c)) { mina=a; minb=b; minc=c; s=a*b+a*c+b*c; } } } printf..