你的函数应该改成这样
long count(char* temp)
{
int re=1;
int len=strlen(temp)-1;
for(int i=0;i
Your ride is here~晕死
Your ride is here~晕死
#include
#include
int count(long *p,char temp[]){
int len=strlen(temp)-1;
for(int i=0;i Run 1:Execution error:Your program (`ride') exited with signal
#11 (segmentation violation [maybe caused by accessing memory out of
bounds,array indexing out of bounds,using a bad pointer (failed
open(),failed malloc),or going over the maximum specified memory
limit]).The program ran for 0.004 CPU seconds before the signal.
------ Data for Run 1 ------
COMETQ
HVNGAT
----------------------------
如此令人伤心的结果
md
加码了
快来回答啊
#include
#include
int count(long *p,char temp[]){
int len=strlen(temp)-1;
for(int i=0;i Run 1:Execution error:Your program (`ride') exited with signal
#11 (segmentation violation [maybe caused by accessing memory out of
bounds,array indexing out of bounds,using a bad pointer (failed
open(),failed malloc),or going over the maximum specified memory
limit]).The program ran for 0.004 CPU seconds before the signal.
------ Data for Run 1 ------
COMETQ
HVNGAT
----------------------------
如此令人伤心的结果
md
加码了
快来回答啊
其他人气:314 ℃时间:2020-04-14 09:43:41
优质解答
我来回答
类似推荐
猜你喜欢
- 1一道初二下学期的物理题
- 2一列数1.2.4.7.11.16.22.29……,这列数的组成规律是第二个数比第一个数多1,第三个数比第二个数多2,第四个数比第三个数多3,以此类推,那么这列数左起2002个数除以5的余数是几
- 3小学三年级上册数学人教版寒假作业3?7乘?=2?9?
- 4烃燃烧耗氧量规律.烃的质量相同:氢的质量分数越大,完全燃烧耗氧越多 烃的物质的量相同:x+y/4越大,耗
- 51-1/2-1/6-1/6-1/12-1/20·······-1/99*100 咋写
- 6如何理解动能定理
- 7由羧酸和氯化亚砜反应制备酰氯时为什么要加少量的吡啶
- 8给试管里的固体加热
- 9一个点到圆的最小距离为4cm,最大距离为9cm,则该圆的半径是( ) A.2.5cm或6.5cm B.2.5cm C.6.5cm D.5cm或13cm
- 10如图,o是△abc内一点,连接ob,oc.d,e,f,g分别是ab,ob,oc,ac的中点,求证:四边形defg是平行四边形.