[编程入门]电报加密-题解(C语言代码) #include#includeintmain(){//a=97b=98z=122a-A=32//A=65B=66Z=90//printf("%d%d%d",'A','B','Z');charstr[100];//printf("%d",'Z'+1);gets(str);//死了亲妈的gets用sca 题解列表 2019年11月03日 0 点赞 0 评论 965 浏览 评分:0.0
去掉空格-题解(C语言代码) #include#include#includeintmain(){charinpu[80];while(fgets(inpu,81,stdin)!=NULL){/*char*fgets(char*str,intn,FILE*stream)从指定的stream读取一行, 题解列表 2019年11月03日 0 点赞 0 评论 1030 浏览 评分:0.0
i am fine, thank you 使用一个max_a数组维护数组[1-i]的最大值,然后二分查找对应的数就行了。(需要注意的是,如果不用max_a维护,数组就不是有序的,使用不了lower_bound,所以会出现输出超限!!!)#includeusingnamespacestd;constintMAXN=1e6+7;inta[MAXN 题解列表 2019年11月03日 0 点赞 2 评论 1782 浏览 评分:9.9
[编程入门]自定义函数之数字后移-编译器编译没问题但提交就运行错误,有没有大佬看下哪里数组越界还是什么原因 #include#include#includeintmain(){intn,a[n],m,t;scanf("%d",&n);for(inti=0;iy$$$$\(\sqrt{3x-1}+(1+x)^2\)$$$$\sin(\alpha)^{\theta}=\sum_{i=0}^{n}(x^i+\co 题解列表 2019年11月03日 0 点赞 0 评论 691 浏览 评分:0.0
优质题解 川哥的吩咐-题解(C语言代码) 解题思路:第一次写大数加法,希望看到这的能够帮助到你。首先我们要先了解大数加法首先我们用平常写的#includeintmain(){inta,b;while(scanf("%d%d",&a,&b)!=EOF)printf("%d\n",a+b);return0;}这样写是行不通的, 题解列表 2019年11月03日 0 点赞 1 评论 2278 浏览 评分:9.9
C语言训练-数字母-题解(C语言代码) 摘要:真恶心,printf("%s") 就错12% gtes就没有 #include #include int main() { char …… 题解列表 2019年11月02日 0 点赞 0 评论 1617 浏览 评分:9.0
C语言训练-数字母-题解(C语言代码) 摘要:真恶心,printf("%s") 就错12% gtes就没有 #include #include int main() { char …… 题解列表 2019年11月02日 0 点赞 0 评论 1128 浏览 评分:0.0
蓝桥杯2013年第四届真题-格子刷油漆-题解(动态规划) 原文链接:https://blog.csdn.net/qq_35078631/article/details/54730870```c#includeusingnamespacestd;constintN=1010;constintmod=1000000007;longlonga[N], 题解列表 2019年11月02日 0 点赞 1 评论 2424 浏览 评分:8.4
[编程入门]自定义函数之字符串连接-题解(C语言代码) #include//char*STRCAT(char*dest,constchar*src)//{//char*tmp=dest;//while(*dest){//dest++;//}//while((*dest++=*src++)!='\0');//首先dest地址移动到最后一位, 题解列表 2019年11月02日 0 点赞 0 评论 1048 浏览 评分:0.0
[编程入门]自定义函数之字符串反转-题解(C语言代码) 摘要: #include #include int main() { char input[80]; scanf("%s",input); …… 题解列表 2019年11月02日 0 点赞 0 评论 900 浏览 评分:0.0