上一页 1 2 3 4 5 6 ··· 16 下一页
摘要: 阅读全文
posted @ 2024-08-09 14:57 王ys 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 中缀表达式一、基本概念1、中缀表达式:操作符以中缀形式位于运算数中间(如:3+2),是我们日常通用的算术和逻辑公式表示方法。2、后缀表达式:又称逆波兰式,操作符以后缀形式位于两个运算数后(如:3+2的后缀表达形式就是3 2 +)。3、前缀表达式:又称波兰式,操作符以前缀形式位于两个运算数前(如:3+ 阅读全文
posted @ 2024-08-02 14:14 王ys 阅读(61) 评论(0) 推荐(0) 编辑
摘要: #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 阅读(5) 评论(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 阅读(9) 评论(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 阅读(8) 评论(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 阅读(60) 评论(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) 编辑
摘要: 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 阅读(6) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 16 下一页