#42: long long型態格式化輸出......


s864372002 (建資98級鋼琴)

School : 新北市立安溪國中
ID : 1018
IP address : [163.20.242.100]
Last Login :
2015-05-30 11:06:43
c005. 10300 - Ecological Premium -- UVa10300 | From: [203.64.26.201] | Post Date : 2007-12-05 15:45

要用%lld

在某處放個說明吧!

 

//用%I64d編譯完就直接丟上來...... 

 
#43: Re:long long型態格式化輸出......


mTwTm (洨天)

School : Not Student
ID : 1014
IP address : [118.169.60.54]
Last Login :
2015-06-02 21:15:23
c005. 10300 - Ecological Premium -- UVa10300 | From: [218.168.11.131] | Post Date : 2007-12-05 16:54

我當初解要用lld那幾題也是在網路找了好久才知道...

http://www.mingw.org/MinGWiki/index.php/long%20long

總之非windows用%lld GCC for window則是要用%I64d才看的到

 
ZeroJudge Forum