首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
fibonaccinbsp专题
HDOJnbsp;nbsp;nbsp;1021nbsp;nbsp;nbsp;nbsp;Fibonaccinbsp;Again
题目:http://acm.hdu.edu.cn/showproblem.php?pid=1021 #include<stdio.h> int main () { int n; while (scanf("%d",&n) != EOF) printf("%s\n",(n+2)%4?"no":"yes"); return 0; } 看起来简单的题, 开始的
阅读更多...
HDUnbsp;2855nbsp;Fibonaccinbsp;Check-up(数…
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2855 这题找规律比较难 代码: #include<stdio.h> int m; __int64 a[2][2],b[2][2]; void Mul(__int64 c[2][2],__int64 d[2][2]) { __int64 x[2][2],y[2][2];
阅读更多...