- 博客(3)
- 收藏
- 关注
原创 hdu11997
#include <stdio.h> int mod(int n , int b){ int sum = 0; while(n){ sum += n%b; n /= b; } return sum; } int main(){ int i ; for(i = 2992 ; i ...
2018-04-22 23:11:50
107
原创 做题报告
#include<iostream> #include<cstdio> #include<cstring> #include<string> #include<cmath> #include<algorithm> using namespace std; #define N 10010 char s[N]; ...
2018-04-15 22:48:30
190
原创 解题报告(hdu1108)
1.本题用了有多项输入输出。2.采用函数递归解决,大大缩短了代码量#include<stdio.h>int beishu(int x,int y){return b==0?a:beishu(b,a%b);}int main(){ int x,y; while (scanf("%d%d",&x,&y)!=EOF){ printf("%d",x*y/beishu(x,...
2018-04-08 23:48:03
215
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人