开发者社区 问答 正文

程序执行完是空白如何处理

https://dmslab.aliyun.com/?spm=a2c6h.13858375.0.0.6bed68f4T21bNj这个程序执行后就是空白是什么问题链接文字https://dmslab.aliyun.com/?spm=a2c6h.13858375.0.0.6bed68f4T21bNj

展开
收起
游客5ryxc6cyche4c 2020-12-01 20:17:49 508 分享 版权
1 条回答
写回答
取消 提交回答
  • #include #include using namespace std; const int a = 16; int main() { array<long double, a> fa;

    fa[1] = fa[0] = 1; for (int i = 2; i < a; ++i) { fa[i] = i * fa[i - 1]; } for (int i = 0; i < a; ++i) { cout << i << "! = " << fa[i] << endl; } system("pause"); return 0; }

    2021-02-09 16:13:40
    赞同 展开评论
问答地址: