报时助手Python 摘要:解题思路:注意事项:参考代码:nums = {0:'zero', 1:'one', 2:'two', 3:'three', 4:…… 题解列表 2023年10月27日 0 点赞 0 评论 154 浏览 评分:0.0
找出最长的字符串来(C语言) 摘要:参考代码: ```c #include #include int main() { char str[5][100]; int len[5]={0}; int i=0; fo…… 题解列表 2023年10月27日 0 点赞 0 评论 307 浏览 评分:0.0
2114: 信息学奥赛一本通T1173-阶乘和 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;import java.math.BigInteger;public class Main { public stati…… 题解列表 2023年10月27日 0 点赞 0 评论 209 浏览 评分:0.0
你猜适不适合晨练呀 摘要:**代码:** ```C++ #include using namespace std; int main() { int t; cin>>t; if(t>=25&&t…… 题解列表 2023年10月27日 0 点赞 0 评论 201 浏览 评分:0.0
筛选N以内素数 摘要:解题思路:1.遍历2-N的每一个数2.用求模方式判断是否是素数注意事项:参考代码:#include<stdio.h> int main() { int n,i,j; scanf…… 题解列表 2023年10月27日 0 点赞 0 评论 134 浏览 评分:0.0
与2无关的数 摘要:参考代码: ```c #include int m(int a) { while(a) { int b=a%10; if(b==2) …… 题解列表 2023年10月27日 0 点赞 0 评论 220 浏览 评分:0.0
记录个人思路,回头消化下辗转相除法 摘要:解题思路:1.个人思路比较复杂2.高赞的辗转相除法思路注意事项:参考代码:本人题解记录如下#include<stdio.h> int main() { int m,n,i,j; …… 题解列表 2023年10月27日 0 点赞 0 评论 89 浏览 评分:0.0
判断第几天(我也是闲,整了个switch来输出) 摘要:参考代码: ```c #include int leap(int year) { int k=year%100?(year%4?0:1):(year%400?0:1);//k为1,为…… 题解列表 2023年10月27日 0 点赞 0 评论 189 浏览 评分:0.0
C语言思路简单,易懂!!! 理解万岁 (代码易理解 0_0)!!!! 摘要:解题思路: //利用一个数组将相对位置的乘积存起来,后面判断是否进位!!!注意事项:参考代码:#include<stdio.h>#include <string.h>int main(){ …… 题解列表 2023年10月27日 0 点赞 0 评论 664 浏览 评分:0.0
一个二维数组+一个for循环搞定 摘要:解题思路:本质上是Trie树注意事项:参考代码:#includeusing namespace std;const int N=100010;int son[N][26]={0};int idx=0;…… 题解列表 2023年10月27日 0 点赞 0 评论 209 浏览 评分:0.0