1 条题解

  • 0
    @ 2023-07-16 20:11:10
    //打表无敌!!!
    #include<bits/stdc++.h>
    using namespace std;
    int n;
    int a[41][2]={{1,0},{0,1},{1,1},{1,2},{2,3},{3,5},{5,8},{8,13},{13,21},{21,34},{34,55},{55,89},{89,144},{144,233},{233,377},{377,610},{610,987},{987,1597},{1597,2584},{2584,4181},{4181,6765},{6765,10946},{10946,17711},{17711,28657},{28657,46368},{46368,75025},{75025,121393},{121393,196418},{196418,317811},{317811,514229},{514229,832040},{832040,1346269},{1346269,2178309},{2178309,3524578},{3524578,5702887},{5702887,9227465},{9227465,14930352},{14930352,24157817},{24157817,39088169},{39088169,63245986},{63245986,102334155}};
    int main()
    {
        cin>>n;
        cout<<a[n][0]<<' '<<a[n][1];
        return 0;
    }
    
  • 1

信息

ID
1911
难度
6
分类
(无)
标签
递交数
22
已通过
11
通过率
50%
被复制
5
上传者