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
加码了
快来回答啊
其他人气:314 ℃时间:2020-04-14 09:43:41
优质解答
你的函数应该改成这样
long count(char* temp)
{
int re=1;
int len=strlen(temp)-1;
for(int i=0;i
我来回答
类似推荐
请使用1024x768 IE6.0或更高版本浏览器浏览本站点,以保证最佳阅读效果。本页提供作业小助手,一起搜作业以及作业好帮手最新版!
版权所有 CopyRight © 2012-2024 作业小助手 All Rights Reserved. 手机版