浙大OJ 2987Misspelling WA 坐等大侠指点
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/14 09:11:33
浙大OJ 2987Misspelling WA 坐等大侠指点
Misspelling is an art form that students seem to excel at.Write a program that removes the nth character from an input string.
Input
The first line of input contains a single integer N,(1
Misspelling is an art form that students seem to excel at.Write a program that removes the nth character from an input string.
Input
The first line of input contains a single integer N,(1
我觉得你思路有点错误,程序也写的不对,最主要的,是给定了一个字符串,然后去掉指定位置的一个字符,用一个循环,将a[m-1],a[m],a[m+1].到字符串结束用后面的字符覆盖前面的字符,就相当于去掉了制定位置的字符,用一重循环就可以实现,另外你输出的序号有问题,而且你的字符串读入貌似也不对.我改了你的程序,并且AC了的代码如下:
#include
int main()
{
\x05int n,i,m,k,j;
\x05char ch[90];
scanf("%d",&n);
\x05for(i=0;i
再问: #include #include int main() { int n,i,m,k; char ch[90]; scanf("%d",&n); for(i=0;i
#include
int main()
{
\x05int n,i,m,k,j;
\x05char ch[90];
scanf("%d",&n);
\x05for(i=0;i
再问: #include #include int main() { int n,i,m,k; char ch[90]; scanf("%d",&n); for(i=0;i
浙大OJ 2987Misspelling WA 坐等大侠指点
十万火急 浙大OJ 1113 u Calculate e 显示Output Limit Exceeded 大侠帮我看看
真心求解!浙大ZOJ平台上3168题,觉得很简单啊,但一直WA.坐等哭求大牛!
希望大侠指点一下mod运算!
浙大1350The Drunk Jailer 问题能转化成n以内多少个平方数?为啥还是WA
72dpi是什么意思?请各位大侠指点!谢谢!
跪求初三化学学年目标,请各位大侠多多指点
紧急!坐等!有一道题目的答案不太理解,数学 高人指点
杭电 oj FatMouse' Trade
HDU 2054 WA了我梳理了下思路,找不出错误,求大牛们指点下!
怎样区分铍青铜和磷铜哪位大侠帮我指点指点呀呀 !小弟先谢谢了!
请问gern 和 gerne 有什么区别呢?多谢大侠的指点