Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
93523 胡海峰老师 C语言6.6 C Accepted 0 MS 188 KB 338 2024-10-17 16:56:07

Tests(1/1):


Code:

//100至200之间不能被3整数的数输出。 #include <stdio.h> #include <string.h> #include <ctype.h> int main() { int a,b,c; a=b=1; printf("%d %d ",a,b); for(int i=3;i<=40;i++) { c = a + b ; a = b ; b = c ; printf("%d ",b); } return 0; }