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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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
Results tagged with Search options user 29637

This challenge is intended to be solved by using, manipulating, accepting as input, or outputting numeric values.

1
vote
PHP, 69 68 for(;(~$d=$argn[$j++])||~$c=_3145926870[$i+++$j=0];)$c==$d&&print$d; Still beaten by preg_filter but I thought it was quite nice itself. Maybe someone can golf off some bytes.
answered May 2 '17 by Christoph
7
votes
PHP, 47 45 40 bytes while($argn[-++$i]==$argn[-1]);echo$i-1; Run with echo <n> | php -nR '<code> seems a loop is still smaller than my first answer. simply count the chars that are equal to the la …
answered Mar 28 '17 by Christoph
2
votes
PHP, 130 for($d=a;$e=$argn[$i++];)$e!=' '?$d!=b?$$d+=1<<ord($e)-97:$b=$e:++$d;eval("for(;\$j++<27;)echo($a$b$c>>\$j-1)&1?chr(96+\$j):'';"); expanded version: for($d=a;$e=$argn[$i++];) // for …
answered Apr 11 '17 by Christoph
0
votes
Rust, 14 I haven't seen Rust quiet often so let's use it. |a:u8,b:u8|a*b This is a lambda expression that takes to 8 bit ints and multiplies them.
answered Jan 18 '17 by Christoph
1
vote
PHP, 11 <?=1/$argn; Run with echo <n> | php -nR '<code
answered Mar 31 '17 by Christoph
5
votes
PHP, 80 (Wahooka) 57 54 bytes While the idea is from Wahooka. I think my version is different enough to make it an own answer: for(;;)echo$a[]=strpos(++$n,55)<-$n%7?"$n ":$a[+$b++];
answered Nov 28 '16 by Christoph
5
votes
PHP, 27 <?=trim(32043**2,$argv[1]); uses the trick from Rod's answer to generate a string containing all digits then removes all digits except for the missing one. PHP, 41 for($b=1;$i<9;$b^=$ar …
answered Mar 28 '17 by Christoph
3
votes
PHP, 35 print_r(range($argn,!!$argn*99,9)); Creates the range [$argn, 100) with a step of 9 as array and prints it. If the input is 0 it creates the range [0,0] => array(0).
answered May 29 '17 by Christoph
2
votes
(abused) PHP, 74 + 74 = 148 H@~*^)$.`~+1A|Q)p~`\Z!IQ~e:O.~@``#|9@)Tf\eT`=(!``|`~!y!`) Q~$x.4|m4~~&!L{% The PHP interpreter simply dumps the source code until it finds a <? since we lack < every per …
answered Jan 3 '17 by Christoph
5
votes
PHP, 25 28 25 <?=!chop($argn,$argn[0]); remove all chars from the right that are equal to the first and print 1 if all chars were removed.
answered Jun 8 '17 by Christoph