C++ 为什么主函数里输入用long long就不行。。。

P1464 Function

%ld
by 李殊文 @ 2016-12-25 19:49:20


@[guanmeige](/space/show?uid=31403) 用int能过是数据弱,其次,longlong读入输出都要使用%lld或%ld,但是这样在Linux没错,Windows下有可能错,建议涉及到longlong的读入输出尽量用cincout(在不会超时的前提下)
by 1124828077ccj @ 2016-12-25 20:19:02


是a,b,c是longlong吗?long long用%lld
by Zn_Hua @ 2016-12-25 20:20:40


%Zn\_Hua
by 李殊文 @ 2016-12-25 20:22:25


@[Zn\_Hua](/space/show?uid=25476) 是呀
by guanmeige @ 2016-12-26 20:13:59


@[2016陈常杰](/space/show?uid=14738) 谢谢!
by guanmeige @ 2016-12-26 20:14:49


|