12月将举办首届西电ACM新生赛,敬请期待~~~~
Xidian Online Judge WebBoard
[ New Thread ]
Problem 1272 >> C语言<stdbool.h>,小心报编译错误
formilk @ 2017-12-13 18:07:01
[ Quote ] [ Edit ] [ Delete ] 1#
C语言提交如果要使用bool类型需要加<stdbool.h>,否则会报编译错误
adminlight @ 2017-12-13 18:35:04
[ Quote ] [ Edit ] [ Delete ] 2#
See ISO/IEC 9899:1999 6.7.2p1 and section 7.16.

This behaviour is well defined by the language standard. Should not be a problem.

Recommend to use C++ in ACM/ICPC. C is too simple and Java is too slow. And, now we have beautiful Python built-in big integers, instead of ugly Java math.Biginteger API.
INnoVation @ 2017-12-21 23:36:42
[ Quote ] [ Edit ] [ Delete ] 3#
竟然还有人用c。。。
[Top] [Previous Page] [Next Page]
Anything about the Problems, Please Contact Admin:admin
All Copyright Reserved 2010-2014 Xidian ACM Online Judge TEAM
GPL2.0 2003-2014 HUSTOJ Project TEAM