Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A competition to solve a particular problem through the usage and manipulation of strings.
0
votes
Lemon-Limify a String
Explanation
/* Static variables
i - "Row" number
j - "Column" number
k - String character counter
l - Double length of the input string
v - Inverted column distance from center */
int i … ,j,k,l,v;
/* Main parameters
h - (argc) Input string length
s - argv */
main(h, s)
char**s;
{
/* Assign the input string length and double length */
h = strlen(s[1]);
l = h * 2;
/* Display …
5
votes
Random Golf of the Day #7: A distinctly random character
C, 35 bytes
This program assumes RAND_MAX is (2^32 / 2) - 1 as it is on gcc by default. Compile with the -lm flag to link the sqrt function. The output is written to stdout as capital letters without …