Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
呵呵,前辈们在这些问题上搞得不太透彻呀!In Reply To:终于过了....这道题WA的很诡异!!WA的兄弟近来看看 Posted by:humanjustic at 2006-11-17 21:41:51 我也不说humanjustic错再哪儿。 举个例子: int array[10]; int *ptr = new int[10]; 两种不同的数组,变量名是有区别的 sizeof(array) = 10*4;(返回数组空间大小) sizeof(ptr) = 4;(返回指针变量所占空间字节数, 指针型占4字节) Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator