Stack Exchange Network

Stack Exchange network consists of 180 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Loading…
    • Tour Start here for a quick overview of the site
    • Help Center Detailed answers to any questions you might have
    • Meta Discuss the workings and policies of this site
    • About Us Learn more about Stack Overflow the company
    • Business Learn more about our products
  1. current community

    • Code Golf
      help chat
    • Code Golf Meta

    your communities

    Sign up or log in to customize your list.

    more stack exchange communities

    company blog
  2. Log in
  3. Sign up
Code Golf
  1. Home
    1. Public
    2. Questions
    3. Tags
    4. Users
    5. Companies
    6. Unanswered
    1. Teams
      Stack Overflow for Teams – Start collaborating and sharing organizational knowledge. Create a free Team Why Teams?
    2. Teams
    3. Create free Team

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more
user avatar
user avatar
user avatar
Yakk
  • Member for 8 years, 1 month
  • Last seen more than a month ago
  • Canada
  • Meta user
Profile Activity
  • Summary
  • Answers
  • Questions
  • Tags
  • Badges
  • Bookmarks
  • Bounties
  • Reputation
  • All actions

8 Answers

Score Activity Newest
27 votes

Write a piece of code to output the line number of the print / output statement itself (in the form "Hello World, from line X!")

popularity-contest hello-world self-referential
answered Jun 4, 2014 at 1:34
16 votes

Is this number a prime?

code-golf number number-theory primes decision-problem
answered Sep 20, 2015 at 3:23
16 votes

Magic the Gathering: Friends or Foes?

code-golf game decision-problem card-games
answered Mar 13, 2017 at 18:24
6 votes

A Numpad's Knight Numbers

code-golf number grid decision-problem chess
answered Apr 18, 2016 at 20:24
4 votes

You are the Weakest Link, Goodbye

king-of-the-hill java
answered Dec 1, 2015 at 19:41
3 votes

Produce different behaviour in all versions of your language

popularity-contest
answered Apr 16, 2015 at 20:51
2 votes

Addition in base -1+i

code-golf arithmetic restricted-time complex-numbers
answered Mar 24, 2016 at 15:39
0 votes

Write a program that makes 2 + 2 = 5

popularity-contest math underhanded
answered Jun 4, 2014 at 15:12
Code Golf
  • Tour
  • Help
  • Chat
  • Contact
  • Feedback
Company
  • Stack Overflow
  • Teams
  • Advertising
  • Collectives
  • Talent
  • About
  • Press
  • Legal
  • Privacy Policy
  • Terms of Service
  • Cookie Settings
  • Cookie Policy
Stack Exchange Network
  • Technology
  • Culture & recreation
  • Life & arts
  • Science
  • Professional
  • Business
  • API
  • Data
  • Blog
  • Facebook
  • Twitter
  • LinkedIn
  • Instagram

Site design / logo © 2022 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2022.7.6.42527

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.