Coder Social home page Coder Social logo

chomework's Introduction

CHomework

计算概论的 C 程序作业

用命令行的好处:

  • 理论上可以不限数字位数
  • 可利用bash的功能
    • 方便输入大数
    • 进行表达式嵌套
~/cPro/CHomework(master) » ./DAC mul $(printf '1%.0s' {1..2000}) $(printf '1%.0s' {1..1000})
12345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012
34567901234567901234567901234567901234567901234567901234567901234567901234567901234567901234
56790123456790123456790123456790123456790123456790123456790123456790123456790123456790123456
79012345679012345679012345679012345679012345679012345679012345679012345679012345679012345679
01234567901234567901234567901234567901234567901234567901234567901234567901234567901234567901
23456790123456790123456790123456790123456790123456790123456790123456790123456790123456790123
45679012345679012345679012345679012345679012345679012345679012345679012345679012345679012345
67901234567901234567901234567901234567901234567901234567901234567901234567901234567901234567
90123456790123456790123456790123456790123456790123456790123456790123456790123456790123456790
12345679012345679012345679012345679012345679012345679012345679012345679012345679012345679012
34567901234567901234567901234567901234567901234567901234567901234567901234567901111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111110987654320987654320987654
32098765432098765432098765432098765432098765432098765432098765432098765432098765432098765432
09876543209876543209876543209876543209876543209876543209876543209876543209876543209876543209
87654320987654320987654320987654320987654320987654320987654320987654320987654320987654320987
65432098765432098765432098765432098765432098765432098765432098765432098765432098765432098765
43209876543209876543209876543209876543209876543209876543209876543209876543209876543209876543
20987654320987654320987654320987654320987654320987654320987654320987654320987654320987654320
98765432098765432098765432098765432098765432098765432098765432098765432098765432098765432098
76543209876543209876543209876543209876543209876543209876543209876543209876543209876543209876
54320987654320987654320987654320987654320987654320987654320987654320987654320987654320987654
32098765432098765432098765432098765432098765432098765432098765432098765432098765432098765432
0987654320987654320987654320987654320987654320987654321

~/cPro/CHomework(master) » ./DAC mul 5 $(./DAC add 2 $(./DAC mul 3 4))
70

chomework's People

Contributors

allanchain avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.