如过是那个格式问题,我倒可以解决,方法懒了点,
knocker说的值得思考:
#include <stdio.h>
int s[]={105,
110,
116,
32,
109,
97,
105,
110,
40,
41,
10,
123,
105,
110,
116,
32,
105,
59,
10,
32,
112,
114,
105,
110,
116,
102,
40,
34,
35,
105,
110,
99,
108,
117,
100,
101,
32,
60,
115,
116,
100,
105,
111,
46,
104,
62,
92,
110,
34,
41,
59,
10,
32,
112,
114,
105,
110,
116,
102,
40,
34,
105,
110,
116,
32,
115,
91,
93,
61,
123,
34,
41,
59,
10,
32,
102,
111,
114,
40,
105,
61,
48,
59,
105,
60,
49,
56,
54,
59,
105,
43,
43,
41,
10,
32,
112,
114,
105,
110,
116,
102,
40,
34,
37,
100,
44,
92,
110,
34,
44,
115,
91,
105,
93,
41,
59,
10,
32,
112,
114,
105,
110,
116,
102,
40,
34,
125,
59,
92,
110,
34,
41,
59,
10,
32,
102,
111,
114,
40,
105,
61,
48,
59,
105,
60,
49,
56,
54,
59,
105,
43,
43,
41,
10,
32,
112,
114,
105,
110,
116,
102,
40,
34,
37,
99,
34,
44,
115,
91,
105,
93,
41,
59,
10,
32,
114,
101,
116,
117,
114,
110,
32,
48,
59,
125,
10,
};
int main()
{int i;
printf("#include <stdio.h>\n");
printf("int s[]={");
for(i=0;i<186;i++)
printf("%d,\n",s[i]);
printf("};\n");
for(i=0;i<186;i++)
printf("%c",s[i]);
return 0;}
[此贴子已经被作者于2005-2-27 10:16:08编辑过]