07 2024 档案

摘要:#include<iostream> #include<fstream> using namespace std; int main(){ char a[10]; ifstream inf; inf.open("1.txt"); inf>>a; for(int i=0;i<3;i++){ cout< 阅读全文
posted @ 2024-07-29 14:53 王ys 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-07-19 16:00 王ys 阅读(3) 评论(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-19 15:59 王ys 阅读(7) 评论(0) 推荐(0) 编辑
摘要:#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 阅读(7) 评论(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 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-07-08 15:44 王ys 阅读(3) 评论(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 阅读(7) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示