#include <stdio.h><math.h> comdiv( x, [ a[],i,j,comd,b[(gets()!=(i=,j=;i<;i++,j+==()[j]-(a[]== || a[]== ([]==]=a[]*a[]-a[]*a[]=a[]*a[(b[]== (b[]>=comdiv(b[],b[=comdiv(-b[],b[,b[]/comd,b[]/]=a[]*a[]+a[]*a[]=a[]*a[=comdiv(b[],b[,b[]/comd,b[]/ comdiv( x,(x==||y== (x==||y== (x== (x>y && !(x% (!(y%(i=,j=;i<=(x>y?x:y);i++(x%i==&&y%i===
#include <math.h>
[];
Int a [4], I, j, comd, B [2];
while(gets(string)!=NULL)
"% D/% d % c % d/% d". In this way, it is difficult to understand why "a, B, c, and d are 0-9 integers" in the original question is a simplified style, it does not really simplify the problem. It only plays a role in confusing the problem-solving and binding the problem-solving.
(i=,j=;i<;i++,j+==()[j]-;
(a[]== || a[]== ([]==]=a[]*a[]-a[]*a[]=a[]*a[(b[]== (b[]>=comdiv(b[],b[=comdiv(-b[],b[,b[]/comd,b[]/]=a[]*a[]+a[]*a[]=a[]*a[=comdiv(b[],b[,b[]/comd,b[]/
(a[]== || a[]==([]==
([]==]=a[]*a[]-a[]*a[]=a[]*a[(b[]== (b[]>=comdiv(b[],b[=comdiv(-b[],b[,b[]/comd,b[]/]=a[]*a[]+a[]*a[]=a[]*a[=comdiv(b[],b[,b[]/comd,b[]/