![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ACM
文章平均质量分 58
酱油昊天
这个作者很懒,什么都没留下…
展开
-
杭电ACM1002(A+B)Problem
#include #include int main() { char a[1000],b[1000],c[1001]; int n,i,j,k,lena,lenb,len,count=1; scanf("%d\n",&n); while(count scanf("%s %s",a,b); lena=(strlen(a)-1); lenb=(strlen(b)-1); for原创 2017-01-11 16:45:09 · 392 阅读 · 0 评论 -
杭电ACM(1004) Let The Balloon Rise
#include #include using namespace std; int main(){ int i=0,j=0,N,max,num[1001]; string str[1001],color; cin>>N; while(N!=0) { for(i=0;i { num[i]=0; str[i]=原创 2017-01-21 16:43:14 · 323 阅读 · 0 评论 -
杭电ACM(1005)Number Sequence
题目: A number sequence is defined as follows: f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7. Given A, B, and n, you are to calculate the value of f(n). Input The input原创 2017-01-21 17:07:27 · 260 阅读 · 0 评论