Rank | User | Size | Date | Code |
1 | 3298 | 189 | 8/29/2014 12:16:14 PM | Spoiler For Spoiler: |
2 | pimathbrainiac | 268 | 8/25/2014 6:57:57 PM | Spoiler For Spoiler: |
Rank | User | Size | Date | Code |
1 | JWinslow23 | 55 | 8/25/2014 7:22:08 PM | Spoiler For Spoiler: |
Rank | User | Size | Date | Code |
1 | Jens_K | 82 | 8/30/2014 6:52:41 AM | Spoiler For Spoiler: |
2 | Adriweb | 104 | 8/26/2014 9:43:18 AM | Spoiler For Spoiler: |
Rank | User | Size | Date | Code |
1 | JWinslow23 | 50 | 8/26/2014 10:54:23 AM | Spoiler For Spoiler: |
Rank | User | Size | Date | Code |
1 | JWinslow23 | 152 | 8/28/2014 9:43:23 AM | Spoiler For Spoiler: |
Rank | User | Size | Date | Code |
1 | 3298 | 163 | 8/29/2014 12:16:14 PM | Spoiler For Spoiler: |
Rank | User | Size | Date | Code |
1 | 3298 | 174 | 8/29/2014 12:16:14 PM | Spoiler For Spoiler: |
Rank | User | Size | Date | Code |
1 | 3298 | 104 | 8/29/2014 3:04:40 PM | Spoiler For Spoiler: |
Rank | User | Size | Date | Code |
1 | 3298 | 169 | 8/30/2014 9:50:11 AM | Spoiler For Spoiler: |
2 | alberthrocks | 188 | 8/29/2014 4:09:31 PM | Spoiler For Spoiler: |
Rank | User | Size | Date | Code |
1 | willrandship | 99 | 8/30/2014 3:07:52 AM | Spoiler For Spoiler: |
2 | alberthrocks | 116 | 8/29/2014 4:09:31 PM | Spoiler For Spoiler: |
Rank | User | Size | Date | Code |
1 | alberthrocks | 181 | 8/29/2014 4:09:31 PM | Spoiler For Spoiler: |
Rank | User | Size | Date | Code |
1 | Juju | 77 | 8/29/2014 8:20:46 PM | Spoiler For Spoiler: |
Rank | User | Size | Date | Code |
1 | willrandship | 96 | 8/30/2014 3:07:52 AM | Spoiler For Spoiler: |
Rank | Lang | User | Size | Date |
1 | TI-83+ BASIC | JWinslow23 | 50 | 8/26/2014 10:54:23 AM |
2 | Golfscript | JWinslow23 | 55 | 8/25/2014 7:22:08 PM |
3 | Ruby2 | Juju | 77 | 8/29/2014 8:20:46 PM |
4 | Nspire Lua | Jens_K | 82 | 8/30/2014 6:52:41 AM |
5 | Perl | willrandship | 96 | 8/30/2014 3:07:52 AM |
6 | Python3 | willrandship | 99 | 8/30/2014 3:07:52 AM |
7 | SysRPL | 3298 | 104 | 8/29/2014 3:04:40 PM |
8 | Axe | JWinslow23 | 152 | 8/28/2014 9:43:23 AM |
9 | XTend | 3298 | 163 | 8/29/2014 12:16:14 PM |
10 | C | 3298 | 169 | 8/30/2014 9:50:11 AM |
11 | Haskell | 3298 | 174 | 8/29/2014 12:16:14 PM |
12 | Bash | alberthrocks | 181 | 8/29/2014 4:09:31 PM |
13 | Java | 3298 | 189 | 8/29/2014 12:16:14 PM |
Got a 101-bytes one in Lua.Only 0.
Also, that's assuming you want to have displayed only 0 if it's not possible, and nothing else printed during the process.
(Because if other number can appear in the loop as well as 0, well, I got a shorter one.)
Lately, I've thought o fmakinga Lua "preprocessor" thingy/language that would feature much shorter things but in the end it would be run as Lua.
It might be called GolfLua, who knows (any idea ? :P)
if a>b c=3;a=b>3?4:5
etc. which would then translate into lua : if a>b then c=3 end a=b>3 and 4 or 5
But meh, I don't really have much time right now :p
Hum, no, I was rather thinking like being able to do :Code: [Select]if a>b c=3;a=b>3?4:5
etc. which would then translate into lua :Code: [Select]if a>b then c=3 end a=b>3 and 4 or 5
But meh, I don't really have much time right now :p
I could imagine some trolly rules bending, but in a few more chars than 4 ... so IDK yet :PI have something as well...
...how? I'm pretty sure it's something like "a();" and there's another files that does the job as well as preprocessor instructions.In batch. A different trick.
something like naming the file with a weird name such that it's actually code and the few chars in the file just call it ? :DDude, it's not really an entry. It isn't even counted. I will not accept anything like that ever.
If so, you should make all future challenges comply to the no standards loopholes rules (http://meta.codegolf.stackexchange.com/questions/1061/standard-loopholes-which-are-no-longer-funny) ;)
Oh I know, but that's for the future challenges. You may want to include the link in the rules, it can't hurt.People here have had enough common sense not to even submit those kinds of challenges.
(but a lot of them can't apply for calc languages anyway)
Okay, I think I know how. Here's my guess.Correct! Almost!
Your file consists of "a();" and you compile it with gcc cheat.c -o cheat -D'a()=insert whole code here'.
a
b
all:
gcc test-noincl-crazy.c \
-include "stdio.h" \
-D'f=for(i=0;i<4;i++){' \
-D'a=char s[255],*p,r[4],i=0,x=0,c[]="code";' \
-D'b=void main(){fgets(s,255,stdin);f p=strchr(s+x,c[i]);if(!p){printf("0\n");return;}x=p-s;r[i]=x+1;}f printf("%i\n",r[i]);}}' \
-o test
[11:31:08 PM] JWinslow23 Yes...1984.
[11:34:35 PM] JWinslow23 Welp, got a TI-BASIC solution to 177 bytes.