[编程入门]利润计算(之三目运算符)一个比较恶臭的解法XD 摘要:解题思路:运用刚学过的三目运算符代替常规if elseif解法注意事项:(保护好肠胃和心脏)参考代码:#include <stdio.h> int main() { long i, w;…… 题解列表 2022年02月26日 0 点赞 0 评论 432 浏览 评分:9.3
[STL训练]第二小整数 摘要:解题思路:随便写写注意事项:参考代码:#include<bits/stdc++.h>#include<algorithm>using namespace std;int main(){ int …… 题解列表 2022年02月26日 0 点赞 0 评论 389 浏览 评分:0.0
DNA题目解析 C++代码详解 摘要: ######原题链接:[DNA](https://www.dotcpp.com/oj/problem1115.html "DNA") ------------ 解题思路:观察题目中所给出的…… 题解列表 2022年02月26日 1 点赞 0 评论 672 浏览 评分:9.9
编写题解 2014: 疯狂的裁缝 摘要:解题思路:注意事项:参考代码:n=int(input()) ls=list(map(int,input().split())) dp=[0 for i in range(n)] for i in…… 题解列表 2022年02月26日 0 点赞 0 评论 507 浏览 评分:0.0
1097: 蛇行矩阵 java 摘要:- 思路 模拟该矩阵的形成过程即可  …… 题解列表 2022年02月26日 0 点赞 0 评论 396 浏览 评分:0.0
1796: 蛇形填数(c语言--突然启发,思路清晰,不懂来揍我) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n; int k=1; int a[100][100]; wh…… 题解列表 2022年02月26日 2 点赞 1 评论 687 浏览 评分:9.5
暴力解答,思维清晰 摘要:#include<iostream>#include<algorithm>using namespace std;int arr[1005];int A[1000],B[1000],C[1000],D…… 题解列表 2022年02月26日 0 点赞 0 评论 432 浏览 评分:0.0
c语言格式完整版 摘要:#include<stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); printf("%4d\n",a); printf("×…… 题解列表 2022年02月26日 0 点赞 0 评论 441 浏览 评分:0.0
sort函数简单解决问题 摘要:#include<iostream>#include<algorithm>using namespace std;int arr[105];int main(){ int N; cin>>…… 题解列表 2022年02月26日 0 点赞 0 评论 308 浏览 评分:0.0
1115: DNA思路与代码 java 摘要:- 思路 观察一个单元e,g, a=3: X0X 0X0 X0X 发现当行列相等, 或者行列相加等于a+1时为X,…… 题解列表 2022年02月26日 0 点赞 0 评论 460 浏览 评分:0.0