题解 1668: printf基础练习2 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a; scanf("%d",&a); printf("%#o %#…… 题解列表 2022年04月02日 0 点赞 0 评论 556 浏览 评分:0.0
题解 1856: 最小三个数 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int n; scanf("%d",&n); if(n >= 3 && …… 题解列表 2022年04月02日 0 点赞 0 评论 355 浏览 评分:0.0
题解 1857: 姜太公钓鱼 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int n; scanf("%d",&n); if(n >= 2 && …… 题解列表 2022年04月02日 0 点赞 0 评论 674 浏览 评分:0.0
C语言-成绩归类 摘要:解题思路:注意细节题目不难注意事项:参考代码:#include<stdio.h>int main(){ int w=0; int a[1000]; for(int i=0;i<100…… 题解列表 2022年04月02日 0 点赞 0 评论 374 浏览 评分:0.0
蓝桥杯2013年第四届真题-错误票据 摘要:解题思路:注意事项:参考代码:n=int(input())c=0m=0L=[]while c<n: #方式一 # s=input().split() 输入的str类型需要更改为int …… 题解列表 2022年04月02日 0 点赞 0 评论 289 浏览 评分:0.0
阶乘公式求值 摘要:解题思路:注意事项:输出要与示例一模一样,被坑傻了参考代码:#include<stdio.h>double fact(int k){ double sum=k; if(k==1) r…… 题解列表 2022年04月02日 0 点赞 0 评论 418 浏览 评分:0.0
题解 1013: [编程入门]Sn的公式求和 摘要:解题思路:用字符存‘2’然后转换,再相加注意事项:list的赋值,字符(字符串)乘参考代码:n = int(input())'''num = {} #用字典解决下标溢出for …… 题解列表 2022年04月02日 0 点赞 0 评论 426 浏览 评分:0.0
最简三元符 C语言 摘要:这题一看就让我想到了三元符,昨天晚上调了半天不太对,重新捋了一下就过了哈哈。 昨晚给我调bug调自闭了,看了别人的答案还是不死心,还是试出来了。哈哈。有自己的思想就不要放弃。 #i…… 题解列表 2022年04月02日 0 点赞 0 评论 512 浏览 评分:0.0
dfs暴搜(三个数) 摘要:```java import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamRead…… 题解列表 2022年04月02日 0 点赞 0 评论 564 浏览 评分:0.0
子串分值-暴力必超时 摘要:```cpp 记录每个位置所对应的字符的之前和之后出现的位置,两者相乘则是该位置的字符的贡献,依次相加即可 #include using namespace std; const int m…… 题解列表 2022年04月03日 0 点赞 0 评论 742 浏览 评分:0.0