摘要: #include <stdio.h>#include <string.h> int main(){ char a[100]; char b[100]; char c[100]; char t[100]; gets(a); gets(b); gets(c); if(strcmp(a, b) > 0) 阅读全文
posted @ 2018-12-15 19:15 可爱到冒泡 阅读(4698) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> int f(int N){ if (N < 4) return 1; else return f(N - 1) + f(N- 3);}int main(){ int N; scanf("%d", &N); printf("%d",f(N));} 阅读全文
posted @ 2018-12-15 13:44 可爱到冒泡 阅读(2692) 评论(0) 推荐(0) 编辑