Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
93522 胡海峰老师 C语言6.6 C Wrong Answer 0 MS 200 KB 311 2024-10-17 16:55:23

Tests(0/1):


Code:

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


Run Info:

------Input------
0
------Answer-----
1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765 10946 17711 28657 46368 75025 121393 196418 317811 514229 832040 1346269 2178309 3524578 5702887 9227465 14930352 24157817 39088169 63245986 102334155
------Your output-----
1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765 10946 17711 28657 46368 75025 121393 196418 317811 514229 832040 1346269 2178309 3524578 5702887 9227465 14930352 24157817 39088169 63245986