【如果你也是“答案错误67”】C语言之判断最长周期 摘要::fa-envelope-o:主要需要注意的就是: 要比较输入的i,j的大小,可以先输入大的值后输入小的值 ```c #include long long int T_num(int num…… 题解列表 2022年11月04日 0 点赞 0 评论 318 浏览 评分:0.0
1009一行解(Python) 摘要:解题思路:注意事项:lambda N是定义一个匿名函数,lambda 函数名:expression(表达式)等价于 def 函数名(参数): 函数体 return 返回值不追求简短不必刻意使用lamb…… 题解列表 2022年11月04日 0 点赞 0 评论 354 浏览 评分:0.0
敲简单C语言代码!!! 摘要:解题思路:注意事项:一定要确定归零的项首先得不为零!!!参考代码:#include<stdio.h>int main(){ int a,b; while (scanf ("%d %d",&…… 题解列表 2022年11月04日 0 点赞 0 评论 359 浏览 评分:0.0
1023一行解(Python) 摘要:解题思路:略注意事项:虽然没用指定方法,但是秉持着解决问题为第一要务,还是记录一下吧参考代码:for data in sorted(list((map(int, input().split()))))…… 题解列表 2022年11月04日 0 点赞 0 评论 409 浏览 评分:0.0
不用二维数组来解题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; typedef struct st{ int g; char nam…… 题解列表 2022年11月04日 0 点赞 0 评论 512 浏览 评分:0.0
1367基础解法(Python) 摘要:注意事项:引用sys.stdin来获取输入参考代码:import syslst_tableware = ['fork','chopsticks','bowl&#…… 题解列表 2022年11月04日 0 点赞 0 评论 393 浏览 评分:0.0
1018递归解法(Python) 摘要:注意事项:只关注上、下两数的关系即可参考代码:N = int(input())output = 0times = 0def count_sum(up_data, down_data) : glo…… 题解列表 2022年11月04日 0 点赞 0 评论 356 浏览 评分:0.0
简单易懂,小白必看 摘要:#include<stdio.h>int main(){ int a[10],pjs=0,sum=0,num=0; for(int i=0;i<10;i++) { sc…… 题解列表 2022年11月04日 0 点赞 0 评论 394 浏览 评分:0.0
两种解法(sort和快速排序) 摘要:解题思路:第一种是利用c++内置函数sort,第二种是利用快速排序.(建议掌握第二种)注意事项:参考代码:第一种:第二种:#include<bits/stdc++.h> using namespac…… 题解列表 2022年11月04日 0 点赞 0 评论 482 浏览 评分:0.0
题解 2906: 笨小猴 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int ZS(int n){ if(n<2) return 0; …… 题解列表 2022年11月04日 0 点赞 0 评论 465 浏览 评分:0.0