1493: 蓝桥杯算法提高VIP-任意年月日历输出(不用库的方法) 摘要:解题思路:注意事项:参考代码:n,m=map(int,input().split()) def yunn(x): s =0 for i in range(2007,x): …… 题解列表 2022年02月09日 0 点赞 0 评论 354 浏览 评分:0.0
坑点多,易套娃 摘要:解题思路:如下注意事项:1:判断乘数是否为2位数;2:有一个数小于10的被乘数,且乘数另一个大>=10时,不要交换两数的问题(想多了,无语);3:注意当乘数的个位为0的情况;4:控制占位参考代码:#i…… 题解列表 2022年02月09日 0 点赞 0 评论 350 浏览 评分:0.0
将IP划分为四小段,逐一进行判断 摘要:解题思路: 将每一段数字提取出来,由string转化为int类型,进行判断; int k = 0: 用来判断是否成功提取每; 提取一次且数字满足IP…… 题解列表 2022年02月09日 0 点赞 0 评论 512 浏览 评分:0.0
***********c语言这样为什么不行?望指点!************ 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int a,b,s,n; scanf("%d",&n); s=n; while(n/3!=0) { a=n/…… 题解列表 2022年02月09日 0 点赞 0 评论 329 浏览 评分:0.0
超级变态的细节 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;long long dg(long long n) { if (n == 1 || n …… 题解列表 2022年02月09日 0 点赞 0 评论 413 浏览 评分:0.0
P1002(结构体) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<cstdio>#include<cstring>#include<set>#include<string>#inc…… 题解列表 2022年02月09日 0 点赞 0 评论 368 浏览 评分:0.0
Hifipsysta-1770-[编程入门]链表之报数问题(C++代码)基于STL的链表实现 摘要:```cpp #include #include using namespace std; int main(){ int n,num; cin>>n; …… 题解列表 2022年02月09日 0 点赞 0 评论 398 浏览 评分:0.0
1019: [编程入门]自由下落的距离计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,x=2; float M,sum; scanf("%f%d",&M,&n); …… 题解列表 2022年02月09日 0 点赞 0 评论 326 浏览 评分:0.0
1020: [编程入门]猴子吃桃的问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int sum=1,N,i; scanf("%d",&N); for(i=1;i<N;N--…… 题解列表 2022年02月09日 0 点赞 0 评论 399 浏览 评分:0.0
Hifipsysta-2062-[STL训练]第二小整数(C++代码) 摘要:```cpp #include #include #include using namespace std; int main(){ int N, n, tmp; c…… 题解列表 2022年02月10日 0 点赞 0 评论 422 浏览 评分:0.0