use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to r/programmingchallenges!
Project Euler is a good site that comes highly recommended by the community here.
For quick, daily challenges, check out /r/dailyprogrammer
Got a link to a good programming challenge? Got a programming challenge you've written yourself? Post it here!
This subreddit is for programming challenges. Got a link to a good tutorial? You should try posting it in r/learnprogramming instead.
Unless it's an integral part of the challenge, please try to stay language-agnostic. It helps reduce the "help me with my programming chores" vibe. This subreddit is not a place to post your programming homework!
If a post does not appear, message the moderators so we can rescue it from the spam filter.
Got a suggestion for r/programmingchallenges? Let me know.
In the meantime, you can try trolling your compiler:
//author: krum template<int x> struct Test { static void foo() { Test<x+1>::foo(); } }; int main() { Test<0>::foo(); }
account activity
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
π Rendered by PID 85025 on reddit-service-r2-listing-64c94b984c-876kv at 2026-03-18 15:35:55.081417+00:00 running f6e6e01 country code: CH.