Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:刚才查了一下发现C++和G++的区别

Posted by qwertyu123 at 2014-03-09 11:59:01 on Problem 1698
In Reply To:刚才查了一下发现C++和G++的区别 Posted by:yzby at 2013-09-06 15:49:55
> RT
> 这道题用C++交wa了
> 用G++就ac了
> 
> 然后就查了一下:
> 
> G++是GNU的那个C++编译器,也是Dev-CPP自带的编译器和NOI系列赛官方的编译器。。而C++是VC++,是微软出的编译器。。。
> 一般来说,两个结果不一样,要么是因为G++效率略低被卡掉,要么是因为写的代码用了C++标准里没规定的东西
> 
> 简单来说就是C++对代码优化好,速度可能会快一点,但是有可能优化出未知的错误出来。。。


我想只要代码写得规范些, 用哪个都一样吧

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator