2024: 链表删除练习 摘要:有头结点的单链表,用尾插法导入数据。#include<bits/stdc++.h> using namespace std; struct node{ int data; …… 题解列表 2021年12月25日 0 点赞 0 评论 1228 浏览 评分:0.0
c语言 水仙花数"问题1 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y,z; int q; scanf("%d",&q); x=q/100; …… 题解列表 2021年12月25日 0 点赞 0 评论 433 浏览 评分:0.0
C语言训练-"水仙花数"问题2 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; for(a=1;a<=9;a++) { for(b=0;b…… 题解列表 2021年12月25日 0 点赞 0 评论 424 浏览 评分:0.0
【C语言】新手解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c; int zimu=0,kong=0,shu=0,qita=0; while((c=getchar…… 题解列表 2021年12月25日 0 点赞 0 评论 448 浏览 评分:0.0
1771: [编程入门]链表之节点删除 摘要:#include<bits/stdc++.h> using namespace std; struct node{//定义链表结点,头结点 xuehao 变量保存链表结点数 int…… 题解列表 2021年12月26日 0 点赞 0 评论 510 浏览 评分:0.0
委派任务C语言题解 摘要:解题思路: 6个人每个人有去和不去两种情况,所以我将它所有情况列举出来就是26种,再将26次方转换为二进制数每一位存入数组,就得到例如 1 1 1 1 1 1 这样的数组,我们用1来代替去的情况…… 题解列表 2021年12月26日 0 点赞 0 评论 938 浏览 评分:0.0
【C语言】新手解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%d",a>b?(a>…… 题解列表 2021年12月26日 0 点赞 0 评论 480 浏览 评分:0.0
C语言简单算法:简单的a+b 摘要:解题思路:寻常加法+一个循环注意事项:需要输出多组数据参考代码:#include<stdio.h>int main(){ int a,b,c; while (scanf("%d%d",&a…… 题解列表 2021年12月26日 0 点赞 0 评论 491 浏览 评分:0.0
编写题解 1232: 查找最大元素 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<cstring> using namespace std; int ma…… 题解列表 2021年12月26日 0 点赞 0 评论 396 浏览 评分:0.0
2002: 计算数字个数 摘要:#include<bits/stdc++.h> using namespace std; int main(){ string s; getline(cin,s); …… 题解列表 2021年12月26日 0 点赞 0 评论 403 浏览 评分:0.0