"第一个HelloWorld程序"题解 摘要:解题思路:利用输出语句输出字符串即可注意事项:注意'*'的个数,上下均有'*',注意换行参考代码:#include<iostream>using namespace s…… 题解列表 2022年09月11日 0 点赞 0 评论 431 浏览 评分:0.0
"简单的a+b"题解 摘要:解题思路:无注意事项:此题是求多组数据,可用while(cin>>a>>b)来输入每一组数据;为了格式,所以得在输出后加上\n转义字符或endl来换行参考代码:#include<iostream>us…… 题解列表 2022年09月11日 0 点赞 0 评论 337 浏览 评分:0.0
1121: C语言训练-8除不尽的数 摘要:只是计算 ```cpp #include using namespace std; int main() { cout…… 题解列表 2022年09月11日 0 点赞 0 评论 537 浏览 评分:9.9
1120: C语言训练-"水仙花数"问题2 摘要:简简单单,回味无穷 ```cpp #include using namespace std; int s3(int g) { return g*g*g; } int main(…… 题解列表 2022年09月11日 0 点赞 0 评论 426 浏览 评分:9.9
1119: C语言训练-"水仙花数"问题1 摘要:```cpp #include using namespace std; int s3(int g) { return g*g*g; } int main() { i…… 题解列表 2022年09月11日 0 点赞 0 评论 528 浏览 评分:8.0
1118: Tom数(c++代码) 摘要:```cpp #include #include using namespace std; int main() { char *str; int tom; w…… 题解列表 2022年09月11日 0 点赞 1 评论 605 浏览 评分:9.9
1117: K-进制数 摘要:```cpp #include using namespace std; int K; int cl(int num,int front) { int temp=0; f…… 题解列表 2022年09月11日 0 点赞 0 评论 346 浏览 评分:9.9
1116: IP判断(c++代码) 摘要:```cpp #include #include using namespace std; int main() { int q,len,t; string s; …… 题解列表 2022年09月11日 0 点赞 0 评论 464 浏览 评分:9.9
1115: DNA(c++代码) 摘要:```cpp #include using namespace std; void PaintDNA(int a,int b) { for(int i=1;i…… 题解列表 2022年09月11日 0 点赞 0 评论 408 浏览 评分:9.9
计算数字个数--朴素方法 摘要:解题思路:判断单个元素是否位于数字字符编码区间。首先将字符串转变列表,这样就可以将字符串拆成单个元素,接着使用循环进行查找统计,最后输出。注意事项:参考代码:m=list(input())n=0for…… 题解列表 2022年09月11日 0 点赞 0 评论 551 浏览 评分:6.0