1086 我好累成员你知道吗C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int x,y,z,n,m,a,b;scanf("%d\n%d %d\n%d %d",&n,&a,&b,&x…… 题解列表 2021年11月06日 0 点赞 0 评论 203 浏览 评分:0.0
1121: C语言训练-8除不尽的数 摘要:解题思路:if语句注意事项:参考代码:#include<stdio.h>int main(){ int n; for(n=9;n<2000;n++) { if(n%8==1) i…… 题解列表 2021年11月06日 0 点赞 0 评论 515 浏览 评分:9.9
1141: C语言训练-百钱百鸡问题(python) 摘要:解题思路:注意事项:参考代码:price = [5,3,1]s = 0cock = 0hen = 0chicken = 0num = 0for i in range(0,20): cock = …… 题解列表 2021年11月06日 0 点赞 0 评论 488 浏览 评分:0.0
2211 抱歉我投机取巧了C语言这 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int n,x,y;scanf("%d %d",&x,&y); n=x;x=y;y=n;printf("%d…… 题解列表 2021年11月06日 0 点赞 0 评论 354 浏览 评分:0.0
1669sorry 我失误得的C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ float s,r;scanf("%f",&r); s=3.1415*r*r;printf("%…… 题解列表 2021年11月06日 0 点赞 0 评论 200 浏览 评分:0.0
[编程入门]自定义函数之字符提取-题解(C语言代码)简单易懂 摘要:解题思路:将输入的字符串通过strlen判断长度,再将字符串和长度导入自定义函数中,并在自定义函数中完成对字母的提取注意事项:参考代码:#include<stdio.h>#include<string…… 题解列表 2021年11月06日 0 点赞 0 评论 714 浏览 评分:6.0
1668不好意思我是说C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ long long x;scanf("%ld",&x); printf("%#o %d %#x",x,x,x…… 题解列表 2021年11月06日 0 点赞 0 评论 251 浏览 评分:0.0
使用util包下的ArrayList工具类 摘要:解题思路:遍历链表a,对于a中的每一个元素,判断链表b中是否包含这个元素,是,a删去这个元素。注意事项:1.创建一个类Stu,对equals方法进行重写,逻辑为当两个Stu的id相等即返回真,为什么要…… 题解列表 2021年11月06日 0 点赞 0 评论 381 浏览 评分:0.0
统计单词C与C++都可 摘要:解题思路:注意事项:参考代码:#include <iostream>//C用户为<stdio.h>#include <cctype>//c用户改为<ctype.h>using namespace st…… 题解列表 2021年11月06日 0 点赞 0 评论 271 浏览 评分:0.0
复习一下switch分支语句 摘要:解题思路:注意事项:参考代码:#include<iostream>int s(double );int main(){ using std::cout; using std::cin; doub…… 题解列表 2021年11月06日 0 点赞 0 评论 455 浏览 评分:9.9