cin和cout用起来很方便,但是性能不及scanf和printf,我们可以使用 std::ios::sync_with_stdio(false); 来提升cin和cout的性能与sanf和printf相当