1、站立式会议
提供当天站立式会议照片一张
2、每个人的工作 :
- 昨天已完成的工作。
朱潞潞:单独运算加强练习
戴建钊:题目随机生成的实现
花雨芸:相关表达式
范阳斌:反馈图标制作
谢元将:错题集构想
- 今天计划完成的工作。
朱潞潞:继续相关表达式
戴建钊:数据库的连接
花雨芸:继续相关表达式
范阳斌:logo的制作
谢元将:错题集实现
- 工作中遇到的困难。
朱潞潞:
戴建钊:
花雨芸:答案解析的步骤分解
范阳斌:
谢元将:需要结合数据库来实现
3、发布项目燃尽图
4、每人的代码/文档签入记录
代码签入
签入记录对应的Issue内容与链接,代码必须每天可执行
code review编码规范文档要随时更新
5、适当的项目程序/模块的最新(运行)截图
最新模块的代码
ackage arithmetic;
import java.util.Stack;
public class Expressions {
private static String operator[] = { "+", "-", "*", "/" };
public static DefineQueue<String> expressionCreate() throws CloneNotSupportedException {
// 创建后缀表达式
DefineQueue<String> queue = new DefineQueue<String>();
int num = (int) (Math.random() * 2000000)%3+3;//项数3到5项
int count = 0;
boolean opera = false;
while (num != 0 || count != 1) {
Integer choice = (int) (Math.random() * 2000000)%2+1;
switch (choice) {
case 1:
if (num > 0) {
count++;
num--;
Integer num0 = (int) (Math.random() * 100 + 1);
queue.add(num0.toString());
}
break;
case 2:
if (count >= 2) {
opera = true;
Integer opNum = (int) (Math.random() * 2000000)%4;//运算符随机
while(opNum==3) {
queue.add(operator[opNum]);
if(divisibility(queue)) {
queue.removeLast();
break;
}
else {
queue.removeLast();
opNum = (int) (Math.random() * 2000000)%4;//重新随机
}
}
queue.add(operator[opNum]);
break;
}
break;
}
if (opera == true) {
count--;
opera = false;
}
}
return queue;
}
//转换
public static String expressionTransform2(DefineQueue<String> queue) throws CloneNotSupportedException {
String str = "";
Stack<String> stack = new Stack<String>();
DefineQueue<String> que = queue.clone();
while (!que.isEmpty()) {
String expres1 = "";// 等于出栈数字
String expres2 = "";
str = que.poll();
String expresOfMath = "";
if (str.equals("+")) {
expres1 = stack.pop();// 等于出栈数字
expres2 = stack.pop();
}
else if( str.equals("-")) {
expres1 = stack.pop();// 等于出栈数字
expres2 = stack.pop();
if(hasOpera(expres1)==1) {
expres1 = "("+expres1+")";
}
}
else if(str.equals("*")) {
expres1 = stack.pop();// 等于出栈数字
expres2 = stack.pop();
if(hasOpera(expres1)==1) {
expres1 = "("+expres1+")";
}
if(hasOpera(expres2)==1) {
expres2 = "("+expres2+")";
}
}
else if(str.equals("/")) {
expres1 = stack.pop();// 等于出栈数字
expres2 = stack.pop();
if(hasOpera(expres1)==1) {
expres1 = "("+expres1+")";
}
if(hasOpera(expres2)==1) {
expres2 = "("+expres2+")";
}
if(hasOpera(expres1)==2) {
expres1 = "("+expres1+")";
}
}
expresOfMath = expres2 + str + expres1;
stack.push(expresOfMath);
}
String str1 = stack.pop();
// System.out.println(stack.peek());
return str1;
}
6、每日每人总结
朱潞潞:表达式的符号优先级需要着重考虑。
戴建钊:数据库连接成功后还要调试服务器。
花雨芸:表达式还需要四则运算的混合运算。
范阳斌:logo要简洁、清晰。
谢元将:错题集功能需要用到数据库,比较困难。