题解列表

筛选

直接数学方法进行计算

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double a,b,n,r,p,m,q; scanf("%lf %lf %lf……

2906: 笨小猴

摘要:```cpp #include #include #include #include using namespace std; bool ZS(int n) { if(nn; ……

3000: 交换值

摘要:```cpp #include using namespace std; int main() { int a,b; cin>>a>>b; cout……

3001: 整数的和

摘要:```cpp #include using namespace std; int main() { int a,b,c; cin>>a>>b>>c; cout……

[编程入门]电报加密

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ char s[100]; gets(s); for(int i=0;s[i];i++){ if(s[i]>=……

[编程入门]三个字符串的排序

摘要:解题思路:笨方法,和三个数排序地思路差不多。注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char t[100],a[100],……