奥运奖牌计数(超简单,很容易看懂) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n,a,b,c; int a1=0,b1=0,c1=0…… 题解列表 2022年11月05日 0 点赞 0 评论 1061 浏览 评分:8.7
3个数找最大值 摘要:解题思路:#include<stdio.h>int main(){ int a,b,c,d; scanf("%d%d%d",&a,&b,&c); d=a>b?a:b; d=d>…… 题解列表 2022年11月07日 0 点赞 0 评论 455 浏览 评分:8.7
python 递归母牛故事 摘要:解题思路:python在运行递归的时候每次取值都会计算一次这样运行速度就十分的缓慢但是如果我们将结果放到缓存那么就可以大大提高它的运行速度注意事项:参考代码:from functools import…… 题解列表 2022年11月10日 0 点赞 1 评论 1835 浏览 评分:8.7
点和正方形的关系 摘要:解题思路:只要满足这个点在正方形就欧了注意事项:给个五星呗参考代码#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); …… 题解列表 2022年11月11日 0 点赞 0 评论 733 浏览 评分:8.7
题解 2803: 整数的个数(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,k,i,j=0,y=0,z=0; scanf("%d",&k); for(i=1;i<=k;i++)…… 题解列表 2022年11月14日 0 点赞 0 评论 676 浏览 评分:8.7
津津的储蓄计划(不懂我吃屎) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int cost, f, mama = 0, flag = 1, money = 0, i = 1;// c…… 题解列表 2022年11月21日 0 点赞 0 评论 756 浏览 评分:8.7
菜鸟解:算不出来的星期几 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ long long c=1;//定义天数; int a,b; …… 题解列表 2022年11月28日 0 点赞 0 评论 598 浏览 评分:8.7
每日一道----计算2的幂 摘要:解题思路:注意事项:主要需要注意的是pow函数返回的是double类型的数值,通过强制类型转换成int类型参考代码:#include<stdio.h>#include<math.h>int main(…… 题解列表 2022年12月15日 0 点赞 0 评论 949 浏览 评分:8.7
2757:强制类型转换-C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { float n; scanf("%f",&n); …… 题解列表 2022年12月22日 0 点赞 0 评论 821 浏览 评分:8.7
编写题解 2823: 计算分数加减表达式的值 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,j; int sign = 1; double sum = 0; …… 题解列表 2022年12月26日 0 点赞 1 评论 607 浏览 评分:8.7