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:...吐血了..好口怕的题目

Posted by Shinjikun at 2010-12-02 21:22:56 on Problem 1001
In Reply To:...吐血了..好口怕的题目 Posted by:wilyin at 2010-11-24 23:17:22
> 花了很长时间才注意到的2点
> 1.删前导0要保证是在整数部分,别删掉小数了(样例某数据...)
> 2.最好对读入数据先删一次末尾0,最后删结果结果的话容易出问题 ...(话说删读入数据时,即使不注意是否只删小数部分也能AC- -|||..)
> 
> ....第一次用C++..发现连高精度都不会写了...OTL..
> 
> 顺便请教下 GCC G++ C++ 之间区别...
> 
> 关于strlen  
> 
> c++ #include <string> 
> 而
> G++ #include <string.h>
> 
> 求解T_T。。
> 

GCC 是 GNU C
G++ 是 GNU C++
C++ 是 VC

标准C++没有
#include <string>
应该叫
#include <cstring>

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