编写题解 1032: [编程入门]自定义函数之字符串连接(c++) 摘要:解题思路:定义两个字符串,再分别输出注意事项:不要换行!不要换行!不要换行!参考代码:#include<iostream>using namespace std;int main(){ stri…… 题解列表 2022年05月23日 0 点赞 0 评论 452 浏览 评分:6.0
1000: [竞赛入门]简单的a+b(c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; while(ci…… 题解列表 2022年05月23日 0 点赞 0 评论 338 浏览 评分:6.0
1001: [编程入门]第一个HelloWorld程序(c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<"*************************…… 题解列表 2022年05月23日 0 点赞 0 评论 501 浏览 评分:6.0
1016: [编程入门]水仙花数判断(c++) 摘要:解题思路:注意事项:参考代码:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a=0,b=0,c=0; …… 题解列表 2022年05月23日 0 点赞 0 评论 605 浏览 评分:9.9
[编程入门]水仙花数判断 C++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ cout<<153<<endl<<370<<endl<…… 题解列表 2022年05月23日 0 点赞 0 评论 360 浏览 评分:0.0
“分段函数”的题解方法 摘要:解题思路:输入x,分段函数,输出x注意事项:别忘了调用数学库函数;注意if语句的格式;参考代码:#include<stdio.h>#include<math.h>int main(){float x;…… 题解列表 2022年05月23日 0 点赞 0 评论 955 浏览 评分:9.9
挺好的,之前想的太难了 摘要:解题思路:注意事项:我用的下午看的辗转相除法,以前是不会的,之前在网站上的看的题解,甚至用枚举法先向上求出最小公倍数,也行,定义了两个函数,感觉自己棒棒的,用的系统自带的IDLE写出来,要熟悉考试环境…… 题解列表 2022年05月23日 0 点赞 0 评论 679 浏览 评分:9.9
先移动后边的,在移动前面的 摘要:解题思路:我比较笨,用一个心的列表来装注意事项:感觉自己好傻,写的方法好复杂,但是还是能通过也挺好,看看别人的好像很简单,就是看不懂参考代码:def szhy(n,li,m): l=[] …… 题解列表 2022年05月23日 0 点赞 0 评论 339 浏览 评分:0.0
数据结构-链表的基本操作 【简洁版本题解】 摘要:```c #include #include #include //list definition typedef struct Node { int data; …… 题解列表 2022年05月24日 0 点赞 0 评论 822 浏览 评分:9.9
自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){char a[1000],b[100];gets(a);gets(b);put…… 题解列表 2022年05月24日 0 点赞 0 评论 367 浏览 评分:0.0