您的位置:首页 > 理论基础 > 计算机网络

http://projecteuler.net/problem=15 [Answer:137846528820]

2011-11-26 16:01 465 查看
#include <iostream>

using namespace std;

int main()

{

    __int64 routes = 1;

    int n = 40;

    int m = 1;

    while ( n > m )

    {

        routes *= n;

        routes /= m;

        --n;

        ++m;

    }

    cout << routes << endl;

    return 0;

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  include