Home | Problems | Discuss | Login

  

晕哦,这题估计有1000个测试数据,仅输入输出就没时间了

1004: A / B Problem (Big integer version)

windy7926778 | 2007-06-28 21:03:11 | delete | edit
是对的 
0643041214 | 2007-06-28 20:48:09 | delete | edit
while(scanf("%s%s",a,b)==2)
读入这两个数字的数组是不是对的? 
windy7926778 | 2007-05-14 22:44:36 | delete | edit
晕过去
读入的时间是很短的 
zxhy2 | 2007-05-14 22:26:30 | delete | edit
这样还要倒次排序一次,我试了,用scanf("%s")更加耗时啊 
zxhy2 | 2007-05-14 22:07:34 | delete | edit
请教高效的输入输出。
我使用了scanf("%c",& );
以及scanf("%c",& )==1、feof(stdin)判断eof;
用printf("%c", );输出;
请教牛人高效的方法 

Please login to reply.