题解 1738: 排序 摘要:下面是选择排序 #include using namespace std; int a[5010]; int main() { int n; …… 题解列表 2023年12月12日 0 点赞 1 评论 381 浏览 评分:9.9
c语言递归解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int gcd(int a,int b){ (a%b==0) ? return b : return gcd(b,a%b)…… 题解列表 2023年12月12日 0 点赞 0 评论 240 浏览 评分:9.9
要用long long 摘要:解题思路:注意事项:参考代码:#include<stdio.h>long long cal(int i){ if(i==1) { return 1; }else{ …… 题解列表 2023年12月12日 0 点赞 0 评论 193 浏览 评分:9.9
遍历三位数暴力解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ for(int i=100;i<1000;i++) { int k=i; …… 题解列表 2023年12月12日 0 点赞 0 评论 224 浏览 评分:9.9
直接格式输出 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); printf("%o",n); retur…… 题解列表 2023年12月12日 1 点赞 0 评论 635 浏览 评分:9.9
找规律解决时间超限 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long long n; scanf("%lld",&n); long long a[3000…… 题解列表 2023年12月13日 0 点赞 0 评论 467 浏览 评分:9.9
2903: 不高兴的津津c语言题解 摘要:解题思路:设立二维数组存储数据,在输入后用数组day[7]存判断循环中的时长最多的那天,最后判断时长是否大于8,然后输出。注意事项:参考代码:#include<stdio.h>int main(){ …… 题解列表 2023年12月13日 0 点赞 0 评论 286 浏览 评分:9.9
python 线性筛法 摘要:解题思路:注意事项:参考代码:n=int(input()) ps=[True]*(n+1) p=[] for i in range(2,n+1): if ps[i]: …… 题解列表 2023年12月13日 0 点赞 0 评论 445 浏览 评分:9.9
画矩形(python) 摘要:解题思路:用两个循环打出长宽的边,再用if判断是否为实心参考代码:length, width, symbol, solid = map(str, input().split()) for i in …… 题解列表 2023年12月13日 0 点赞 0 评论 302 浏览 评分:9.9
[编程入门]结构体之成绩统计2 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <stdlib.h> typedef struct students{ char *id; cha…… 题解列表 2023年12月13日 0 点赞 0 评论 243 浏览 评分:9.9