上一页 1 2 3 4 5 6 7 ··· 16 下一页
摘要: #include<iostream> using namespace std; int jiecheng(int n){ if(n<=2){ return n; } return n*jiecheng(n-1); } int jiechenghe(int n){ int sum; if(n<2){ 阅读全文
posted @ 2024-07-10 15:59 王ys 阅读(17) 评论(0) 推荐(0)
摘要: 1172:求10000以内n的阶乘 时间限制: 1000 ms 内存限制: 65536 KB提交数:51446 通过数: 16810 【题目描述】 求1000010000以内n的阶乘。 【输入】 只有一行输入,整数n(0≤n≤100000)。 【输出】 一行,即n!的值。 【输入样例】 4 【输出样 阅读全文
posted @ 2024-07-10 15:33 王ys 阅读(111) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2024-07-08 15:44 王ys 阅读(7) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文
posted @ 2024-07-08 15:43 王ys 阅读(14) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文
posted @ 2024-06-28 20:18 王ys 阅读(11) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文
posted @ 2024-06-22 09:57 王ys 阅读(20) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2024-06-22 09:56 王ys 阅读(10) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文
posted @ 2024-06-21 20:36 王ys 阅读(9) 评论(0) 推荐(0)
摘要: #include <iostream> #include "minecraft.h" using namespace std; TxMinecraft mc; int x=-1085,y=64,z=-652; int main(int argc, char** argv) { bool con=mc 阅读全文
posted @ 2024-06-15 09:57 王ys 阅读(35) 评论(0) 推荐(0)
摘要: #include<iostream> #include<vector> using namespace std; int main(){ vector<int> a(10,0),c(10,0); a[0]=1; int n; cin>>n; // for(int i=m.size()-1;i>=0; 阅读全文
posted @ 2024-06-14 19:57 王ys 阅读(10) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 16 下一页