1007: [编程入门]分段函数求值 摘要:#include<stdio.h> int main() { int i,y; scanf("%d",&i); if(i<1){ y=i; …… 题解列表 2022年05月06日 0 点赞 0 评论 433 浏览 评分:0.0
1006: [编程入门]三个数找最大值 摘要:#include<stdio.h> int main() { int i,j,k,max; scanf("%d%d%d",&i,&j,&k); if(i>j) …… 题解列表 2022年05月06日 0 点赞 0 评论 426 浏览 评分:0.0
好理解的代码 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; string ss="ABCDEFGHIJKLMNOPQRSTUVWXYZ"…… 题解列表 2022年05月06日 0 点赞 0 评论 394 浏览 评分:0.0
宏定义之闰年判断 摘要:解题思路:大家都知道判断闰年要要求%4==0,%100==0,%400==0;注意事项:L,N是大写参考代码:#include<bits/stdc++.h>using namespace std;in…… 题解列表 2022年05月06日 0 点赞 0 评论 368 浏览 评分:4.7
[编程入门]自定义函数之数字分离 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s,b;int main(){ cin>>s; for(int …… 题解列表 2022年05月06日 0 点赞 0 评论 355 浏览 评分:0.0
1671: 小九九 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,j; for (i=1;i<10;i++) { …… 题解列表 2022年05月06日 0 点赞 0 评论 468 浏览 评分:0.0
[编程入门]自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s,b;int main(){ cin>>s; for(int …… 题解列表 2022年05月06日 0 点赞 0 评论 337 浏览 评分:0.0
数据结构-字符串连接 题解 摘要:解题思路:直接输入后连接,最后输出。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;string a,b;int main(){ for(…… 题解列表 2022年05月06日 0 点赞 0 评论 425 浏览 评分:0.0
自定义函数之字符串反转 摘要:原题链接:[编程入门]自定义函数之字符串反转解题思路:其实跟数字的反转是一样的,倒叙输出就可以了注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#incl…… 题解列表 2022年05月06日 0 点赞 0 评论 340 浏览 评分:0.0
[编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[10][10],t,s;int main(){ for(int i…… 题解列表 2022年05月06日 0 点赞 0 评论 301 浏览 评分:0.0