如果你的代码里有这么一段:
int p=read(),q=read(),r=read(); add(p,q,r);
千万不要这么写:
add(read(),read(),read());
因为函数调用参数的顺序不一定从左到右。