简易版C语言代码 摘要:解题思路:注意事项:参考代码:int main() { int a = 0; for (a = 100; a < 1000; a++) { int b = a % 10; int …… 题解列表 2023年03月21日 0 点赞 0 评论 500 浏览 评分:0.0
二级C语言-计算素数和:注意 i<2 的情况 #include#includeusingnamespacestd;boolisprime(intx){intcount=0;if(xm>>n;intsum=0;for(inti=m;i 题解列表 2023年03月21日 0 点赞 0 评论 558 浏览 评分:0.0
谁考了第K名(C语言)——输入时按分数排序再插入数组 摘要://使用C++文件,提交要用C++ #include#include#define N 500 struct S { char sid[N]; double score; }; int…… 题解列表 2023年03月22日 0 点赞 0 评论 824 浏览 评分:0.0
奇数单增序列——C和C++的STL相结合 摘要://提交代码时提交成C++语言即可 #include<stdio.h> #include<algorithm> using namespace std; #define N 500 int …… 题解列表 2023年03月22日 0 点赞 0 评论 722 浏览 评分:0.0
成绩排序——C语言 摘要://C语言融合部分c++头文件,提交格式为c++ #include<stdio.h> #include<string.h> #include<stdlib.h> struct S { ch…… 题解列表 2023年03月22日 0 点赞 0 评论 675 浏览 评分:0.0
python format格式化输出 摘要:n=int(input())a=[]sum=0for i in range(n): a.append(int(input())) sum+=a[i]print(max(a))print(m…… 题解列表 2023年03月22日 0 点赞 0 评论 666 浏览 评分:0.0
编写题解 1102: 明明的随机数 摘要:解题思路: 先排序再去重注意事项:参考代码:#include<stdio.h> void Srot(int* arr, int len); void Deduplication(int* arr,…… 题解列表 2023年03月22日 0 点赞 0 评论 688 浏览 评分:0.0
蓝桥杯算法训练VIP-s01串 摘要:解题思路:注意事项:不能只用s一个字符串,会混淆参考代码:n = int(input())a = '0's = '0'for i in range(n): a =…… 题解列表 2023年03月22日 0 点赞 0 评论 687 浏览 评分:0.0
巧用python datetime包解决以及打表输出ABABBABA型 解题思路:注意事项:参考代码:fromdatetimeimportdatetime,timedeltan=input()a=int(n[:4])b=int(n[4]+n[5])c=int(n[6]+n[7])day=datetime(a,b, 题解列表 2023年03月22日 0 点赞 0 评论 671 浏览 评分:0.0
sort 和 二分 提一句 上面jcent的计数排序思路太秒了 很牛 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[100000];int m,n;//下面为二分模板 int search…… 题解列表 2023年03月22日 0 点赞 0 评论 678 浏览 评分:0.0