在vs上测试了,和数据1一样的结果,但是wa

P1010 [NOIP1998 普及组] 幂次方

@[foegets](/user/820424) 难道不是int *a 我也不知道,太长时间不写指针都忘了
by _little_Cabbage_ @ 2023-09-14 21:34:56


@[Thomas121213](/user/958804) 应该不是,new一个数组是返回指针才对,疑惑(・∀・(・∀・(・∀・*)
by foegets @ 2023-09-14 21:37:08


@[foegets](/user/820424) 应该没差别
by foegets @ 2023-09-14 21:38:15


![](https://cdn.luogu.com.cn/upload/image_hosting/5q7yqgn2.png) 补一张?
by foegets @ 2023-09-14 22:03:18


|