题解列表
利用printf函数实现Hello World
摘要:解题思路:利用printf函数注意事项:注意换行符即可参考代码:#include<stdio.h>int main(){ printf("**************************\n"……
2925: 单词排序
摘要:解题思路:注意事项:参考代码://字符串的排序(冒泡排序)
#include <stdio.h>
#include <string.h>
int main()
{
int n = 0……
阶乘和数*(第二个数不知道为什么出不来,思路很简单)
摘要:解题思路:注意事项:参考代码:#include<iostream>
using namespace std;
int f(int n) //阶乘
{
int ……
奥运奖牌计数(超简单,很容易看懂)
摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n,a,b,c; int a1=0,b1=0,c1=0……
python 递归母牛故事
摘要:解题思路:python在运行递归的时候每次取值都会计算一次这样运行速度就十分的缓慢但是如果我们将结果放到缓存那么就可以大大提高它的运行速度注意事项:参考代码:from functools import……
题解 2803: 整数的个数(C语言代码)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,k,i,j=0,y=0,z=0; scanf("%d",&k); for(i=1;i<=k;i++)……
津津的储蓄计划(不懂我吃屎)
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int cost, f, mama = 0, flag = 1, money = 0, i = 1;// c……