简单的a+b(c语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a=0,b=0; while(~scanf("%d%d", &a, &b)) //下面有…… 题解列表 2021年11月10日 0 点赞 3 评论 305 浏览 评分:8.4
[竞赛入门]简单的a+b 摘要:解题思路:注意事项:注意符号和细节的东西参考代码#include<stdio.h>int main(){ int a=0,b=0; while(~scanf("%d%d", &a, &b)…… 题解列表 2021年11月10日 0 点赞 1 评论 214 浏览 评分:7.3
1855,好懂的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,t; t<=100; scanf("%d",&t); for(i=1;i<=t;i++){ pri…… 题解列表 2021年11月10日 0 点赞 0 评论 400 浏览 评分:2.0
[编程入门]自由下落的距离计算 最简洁的写法 摘要:解题思路: high为一开始的高度,然后每次递减为原值的一半. 因为有上升和下降的两个距离,所以每一次sum的距离就是high的两倍注意事项: 第一次的sum只有一次,所以要减去m参考代码:…… 题解列表 2021年11月10日 0 点赞 0 评论 307 浏览 评分:8.0
一起来捉妖-java题解 摘要:解题思路:用hasNextInt(),在控制台上输入end才能显示结果,但是就能AC,气不气注意事项:参考代码:import java.util.Scanner; public class te…… 题解列表 2021年11月09日 0 点赞 0 评论 332 浏览 评分:9.9
C++:[STL训练]美国大选 摘要:解题思路:先排序,选出刚好超一半的州,再把每个州刚好超过一半的人数相加注意事项:注意输出格式参考代码:#include<iostream> #include<algorithm> using na…… 题解列表 2021年11月09日 1 点赞 1 评论 1650 浏览 评分:9.9
水仙花 水仙花 水仙花 摘要:```c #include int main() { int a,b,c,d; scanf("%d",&a); if(a>99&&a…… 题解列表 2021年11月09日 0 点赞 0 评论 677 浏览 评分:9.9
c语言 超简单 递归 兄弟们直接复制好嘛 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int myfun(int N){ if(N==1||N==2) return 1; else if(N==3) return 2; e…… 题解列表 2021年11月09日 0 点赞 0 评论 639 浏览 评分:0.0
1028看看他的数再写吧 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ float a,b,c,d,x1,x2,p,q;scanf("%f%f%f"…… 题解列表 2021年11月09日 0 点赞 0 评论 495 浏览 评分:0.0
1112很狠狠太狠了 摘要:解题思路:注意事项:注意输出两个值如果x1等x2参考代码:#include<stdio.h>#include<math.h>int main(){ float a,b,c,d,x1,x2,p,q;…… 题解列表 2021年11月09日 0 点赞 0 评论 573 浏览 评分:0.0