We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [cjam]

related to the CJam language. Note that challenges that require the answers to be in a specific language are generally discouraged.

Filter by
Sorted by
Tagged with
6
votes
2answers
174 views

lastIndexOf in CJam

For the question Find the highest unique digit , here is my answer : 9A,sqfe=W%X#- At the end I am essentially trying to achieve a lastIndexOf. I do that by ...
4
votes
0answers
139 views

Golf Practice: CJam [closed]

This is a challenge about the the tricks and optimizations that can be used when golfing in CJam. CJam golfers may recognize many of the tricks involved. However, unfamiliar approaches and constructs ...
5
votes
1answer
169 views

Dump stack to array

I'm new to this code-golfing thing and I'm very interested in CJam. Is there a way to get all the current stack as an array? I think I can do it with something like ...
9
votes
3answers
2k views

GolfScript, CJam, or Pyth? [duplicate]

Which language usually produces shorter golfed code: Pyth, CJam or Golfscript? In asking this, I do not mean which has a prettier syntax or which has the most useful commands, I mean overall, which ...
43
votes
34answers
3k views

Tips for golfing in CJam

CJam is a GolfScript-inspired stack-based golfing language, created by PPCG user aditsu. So, in the vein of other language-specific tips questions: What general tips do you have for golfing in CJam? ...