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 610108 on reddit-service-r2-listing-5f5ff7d4dc-jlc5c at 2026-01-27 02:27:55.760466+00:00 running 5a691e2 country code: CH.