编写题解 2936: 简单算术表达式求值(C++) 摘要:解题思路:使用switch参考代码:#include<bits/stdc++.h>using namespace std;int main(){ char ch; int a,b; …… 题解列表 2023年06月10日 0 点赞 0 评论 483 浏览 评分:9.9
编写题解 1267: A+B Problem 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d", &a, &b); printf("%d\n",a…… 题解列表 2023年06月10日 0 点赞 0 评论 322 浏览 评分:0.0
编写题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d", &a, &b); printf("%d ",a/…… 题解列表 2023年06月10日 0 点赞 0 评论 404 浏览 评分:0.0
Hello, World!(C++) 摘要:#include<iostream>using namespace std;int main(){ cout<<"Hello, World!"<<endl; return 0;}…… 题解列表 2023年06月10日 0 点赞 0 评论 266 浏览 评分:0.0
编写题解 1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[10]; for(i=0;i<10;i++) { scanf("…… 题解列表 2023年06月10日 0 点赞 0 评论 299 浏览 评分:0.0
C++ 数据结构-直接插入排序 摘要:# C++手撕插排 ```c++ #include using namespace std; void Sort(int* nums, int n) { int i = 0, j = 0…… 题解列表 2023年06月10日 0 点赞 0 评论 595 浏览 评分:0.0
1002:[编程入门]三个数最大值 摘要:解题思路: o=(a+b+abs(a-b))/2; nums=(o+c+abs(o-c))/2;求最值的式子,熟练了也可以用于数组求最值注意事项:一定要说注意的地方在哪的话,定义的数据类型算一个吧,l…… 题解列表 2023年06月10日 0 点赞 0 评论 367 浏览 评分:9.9
自定义函数之字符串连接 摘要:解题思路:可以直接使用strcat函数来实现连接功能注意事项:注意gets函数要使用两次参考代码:#include<stdio.h>#include<string.h>int main(){ c…… 题解列表 2023年06月10日 0 点赞 0 评论 376 浏览 评分:9.9
优质题解 找到简单规律,一切迎刃而解,--混乱的数组-python题解 摘要:解题思路:借鉴了大佬的思想,在此表示崇敬和感谢。https://blog.dotcpp.com/a/95964 站在大佬的肩膀上,进一步发现了更容易编程的规律:每个x对应的数组由三个序列构成。整体思想…… 题解列表 2023年06月11日 1 点赞 0 评论 887 浏览 评分:7.3
编写题解 2824: 求出e的值 摘要:解题思路:注意事项:参考代码:n=int(input())a=1b=1for i in range(1,n+1): a=a*i c=1/a b=b+c e=b print(f'{e:…… 题解列表 2023年06月11日 0 点赞 0 评论 336 浏览 评分:0.0