1001010

  • 菜鸟记录:c语言实现PAT甲级1005–Spell It Right

     非常简单的一题了,但还是交了两三次,原因:对数组的理解不足;对数字和字符之间的转换不够敏感。这将在下文中细说。 Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum i…

    C 2023年4月27日
    00
  • 菜鸟记录:c语言实现PAT甲级1004–Counting Leaves

        好消息:与上题的Emergency是同样的方法。坏消息:又错了&&c++真的比c方便太多太多。 A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.…

    C语言 2023年4月17日
    00
  • 菜鸟记录:c语言实现PAT甲级1003–Emergency

      久违的PAT,由于考研408数据结构中有一定需要,同时也是对先前所遗留的竞赛遗憾进行一定弥补 ,再次继续PAT甲级1003.。 As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several s…

    C语言 2023年4月17日
    00
合作推广
合作推广
分享本页
返回顶部