精美课件POJ数据结构典型例题课件.pptVIP

  • 2
  • 0
  • 约1.26千字
  • 约 23页
  • 2018-07-30 发布于贵州
  • 举报
精美课件POJ数据结构典型例题课件

数据结构经典例题选讲 Classical Problems on Data Structure;让爱延长… 幸福能run多久? 有时候一分钟就够!;合并果子;合并果子;Ugly Numbers(POJ1338);Ugly Numbers;Ugly Numbers;Lazy Math Instructor;Lazy Math Instructor;The shunting yard algorithm;stackchar op; stackdouble num; strcat(S, #); op.push(#); bool finished = false; char *p = S; while (!finished) { if (*p == || *p == \t) p++; else if ((*p = A *p = Z) || ...) num.push(toVal(*(p++))); else if (*p == ( || getP(*p) getP(op.top())) op.push(*(p++)); else if (*p == ) op.top() == () p++, op.pop(); else if (*p == # op.top() == #) finished = true; el

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档