回复 3楼 miop
check different parts, good luck!
linux diff result:
------------------------------------------------
9028259.c
9028259.out
9028259.txt
va.e
vb.e
9028259.c
9028259.out
9028259.txt
va.e
vb.e
1c1
< # 1 "4218938.c"
---
> # 1 "9028259.c"
6c6
< # 1 "4218938.c"
---
> # 1 "9028259.c"
847c847
< # 2 "4218938.c" 2
---
> # 2 "9028259.c" 2
1909c1909,1910
< # 3 "4218938.c" 2
---
> # 3 "9028259.c" 2
> # 24 "9028259.c"
1911,1915c1912,1913
<
<
<
< # 6 "4218938.c"
< int sub1(int argc, char *argv[])
---
> # 24 "9028259.c"
> int sub2(int argc, char *argv[])
1917,1926c1915,1921
<
double x, y, z, a, b, c;
<
x = 3.0;
<
b = 1;
<
y = 1;
<
for(z = 1; z <= x; z++) {
<
for(a = 1; a <= z; a++){
<
b = b * a;
<
}
<
c = 1 / b;
<
y = y + c;
---
>
double x, y, z, a, b;
>
>
for(x= 3, y = 1, z = 1; z <= x; z++) {
>
b = 1;
>
for(a = 1; a <= z; a++) b = b * a;
>
b = 1 / b;
>
y = y + b;
1932c1927,1928
< # 40 "4218938.c"
---
>
>
1937c1933,1935
<
system("gcc -E *.c -o va.e");
---
>
>
>
system("gcc -E *.c -o vb.e");
1939a1938
>
system("diff va.e vb.e");
1940a1940
>
return 0;