小题目
文章平均质量分 79
robin_chenyu
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
简单计算器
计算器目前只需要支持单位正整数的加、减、乘、除运算,并支持用括号表示优先级别。#include #include #include typedef struct { char factor; int pri;} FAC;int compute(char *after){ int stack[501], top = -1, i, tmp = 0; char *a = after; int divider = 0; if (NULL == after||strlen(aft原创 2010-11-01 14:01:00 · 539 阅读 · 0 评论 -
计算器
<br />计算器目前只需要支持单位正整数的加、减、乘、除运算,并支持用括号表示优先级别。<br /> <br />#include <stdio.h><br />#include <stdlib.h><br />#include <assert.h><br />typedef struct <br />{<br /> char factor;<br /> int pri;<br />} FAC;<br />int compute(char *after)<br />{<br /> in原创 2010-11-01 14:05:00 · 505 阅读 · 0 评论 -
数独问题
#include #include #include #define N 9#define SET_BIT(x,b) x |= ((1 #define USET_BIT(x,b) x &= ~(1 #define RD_BIT(x,b) x&(1 // 测试用例1char box1原创 2010-11-01 14:06:00 · 451 阅读 · 0 评论
分享