1144一行解(Python) 摘要:解题思路:掌握lambda写法注意事项:注意结构的顺序,不建议解题这样书写参考代码:print((' '.join(n for n in list(map(lambda x : &#…… 题解列表 2022年12月24日 0 点赞 0 评论 800 浏览 评分:9.0
1479:删除数组中的0元素 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int count = 0; void CompactIntegers(int a[], int gt); //数组元素,数组元…… 题解列表 2022年12月24日 0 点赞 0 评论 842 浏览 评分:10.0
公共子序列 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int dp[1005][1005];int main(){ string s1,…… 题解列表 2022年12月24日 0 点赞 0 评论 563 浏览 评分:0.0
简单明了,看了就懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while (scanf("%d %d",&a,&b)!=EOF) { …… 题解列表 2022年12月24日 0 点赞 0 评论 621 浏览 评分:0.0
用筛法求之N内的素数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j,t; scanf("%d",&n); for(i=2;i<=n…… 题解列表 2022年12月24日 0 点赞 0 评论 473 浏览 评分:0.0
求1+2+3+...+n的值-题解(C语言代码)通项直接输出 摘要:解题思路:求1+2+3+...+n的值注意事项:注意输出范围lld参考代码:#include<stdio.h> int main() { long long int n; scanf("%…… 题解列表 2022年12月24日 0 点赞 0 评论 821 浏览 评分:9.9
用指针几行搞定(c语言) 摘要:解题思路:按题意写即可注意事项:使用gets()输入参考代码:#include<stdio.h> #include<string.h> int main() { char str[100],…… 题解列表 2022年12月24日 0 点赞 0 评论 936 浏览 评分:9.9
C语言训练-大、小写问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; gets(a); for(…… 题解列表 2022年12月24日 0 点赞 0 评论 523 浏览 评分:9.9
5行代码解决拆分位数问题 摘要:解题思路:printf函数在处理参数的时候是从右向左处理的,所以输入的内容最先被最后一个参数接收参考代码:#include<stdio.h>int main(){ printf("%c %c %…… 题解列表 2022年12月24日 0 点赞 0 评论 664 浏览 评分:9.9
2656: 蓝桥杯2022年第十三届省赛真题-刷题统计(从错误到正确详细带你走一遍!) ###2656:蓝桥杯2022年第十三届省赛真题-刷题统计####题目描述小明决定从下周一开始努力刷题准备蓝桥杯竞赛。他计划周一至周五每天做a道题目,周六和周日每天做b道题目。请你帮小明计算,按照计划他将在第几天实现做题数大于等于n题?####输入输入一行包含三个整数a,b和n。 题解列表 2022年12月24日 0 点赞 1 评论 1111 浏览 评分:9.9