I do. "Attached: C + + with not more than a tweet character number of the code can make what kind of image?" 】

Source: Internet
Author: User

The above is the original main post

The following are reprint and few translations.

A game that many C + + programmers are doing:

What kind of mathematical image can be made with the number of characters in a microblog?

Http://codegolf.stackexchange.com/questions/35569/tweetable-mathematical-art

quietly asked : see someone draw the American flag, but the difficulty seems higher, the painting is not complete;

China's flag is simple and crisp, who can put our country's flag to plug it up? It's good to watch and study even if you don't.

Once done with Latex-pstricks, the key point coordinates are calculated:

http://blog.csdn.net/stereohomology/article/details/42736953

Its sketch design is like this, if directly from the design diagram can also:




The process of discovering this post is this:


1. First see a question and answer with the C + + code example, the code is reprint, but the result is quite beautiful.

http://www.zhihu.com/question/30262900/answer/48741026


2 then found the Gusen blog based on the link:

http://www.matrix67.com/blog/archives/6039


3. The final discovery was on the stackexchange.

Http://codegolf.stackexchange.com/questions/35569/tweetable-mathematical-art

What I like more is this:


Because the vast majority of code answers do not have a special function or command for a particular platform,

For preliminary testing, Visual C + + and GCC are all compiled.

There is only a limit to the library and the number of characters of the Convention, the build may appear a lot of warning


Those who define a lot of macros to save code are clearly not economical in style and quite inefficient. But it's just a code-filling game anyway.


I do. "Attached: C + + with not more than a tweet character number of the code can make what kind of image?" 】

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.