#include "stdio.h"
void main() {
int x, y, z
FILE *f = fopen("input.txt", "r")
FILE *outf = fopen("output.txt", "w+")
if (f == 0) return
while (!feof(f)) {
fscanf("%d %d %d", &x, &y, &z)
if (x >y) {
if (y >昌芦 z)
fprintf(outf, "%d %d %d", z, y, x)
else
if (x >z)
fprintf(outf, "%d %d %d", y, z, x)
else
fprintf(outf, "%d %d %d", y, x, z)
} else {
if (y <顷陪 z)
fprintf(outf, "%d %d %d", x, y, z)
else
if (x <z)
fprintf(outf, "%d %d %d", x, z, y)
else
fprintf(outf, "%d %d %d", z, x, y)
}
}
fclose(f)
fclose(outf)
}
1 1011;雀缺2 10,-11,顷兄辩尘态0,0
3 8888
4 1,2,3,4
5
1 1
2
3
4
5
2
3 a
1 2 3
4 5 6
b
1 4
2 5
3 6
4 15
happy
happyCongratulations
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)