#define _CRT_SECURE_NO_WARNINGS #include int main() { int t; int test; int j; int a, c, d; char b, e, f; setbuf(stdout, NULL); scanf("%d\n", &t); for (test = 0; test 0; j--) { if (a % j == 0 && d % j == 0) { printf("%d / %d\n", d / j, a / j); break; } } } return 0; } 입출력이..