- 博客(4)
- 收藏
- 关注
原创 人人笔试题 截取html字符串
#include #include #include char * htmlSource="abcdefghijklmn"; char * GetSubString(char* Source,int length) { int htmlLength=0; for(int i=0;i<strlen(Source);i++) { if(Source[i]=='<') { while
2014-06-29 10:20:11 622
原创 人人笔试题2014 输入5400012 输出:五百四十万零一十二
package test001; import java.util.Scanner; //输入530014 输出五十三万零一十四 //int 型数据最大值为 21 4748 3647 二十一亿 四千七百四十八万 三千六百四十七 //int 型数据最小值为-2147483647 public class file1 { static String[] numArray=
2014-06-28 16:36:11 534
原创 C++ LR(1)加减乘除
E->E+T E->E-T E->T T->T*F T->T/F T->id 一共30个状态,且代码写得个人感觉很罗嗦! #include #include #include #include using namespace std; char s[100]; //
2013-05-28 22:18:49 842
原创 C++ SLR 加减乘除 小数运算
E->E+E E->E-E E->E*E E->E/E E->(E) E->digit //也可以换成id 适当的改动 #include #include #include #include using namespace std; int flag=0; stack S;
2013-05-28 22:10:45 1163
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人