Posts for flagitious

1 2 3 4 5
20 21
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
eternaljwh wrote:
You can't get abab from that one...unless * is 0 or more repetitions, which is the usual way it's used in defining languages (+ is 1 or more repetitions there)
* means 0 or more. My solution was wrong but Nitrodon's is correct and shorter too.
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
Twelvepack wrote:
Here is a funny challenge-- Write an expression that can generate every string of letters, containing only a and b, where the number of a's is even, and the number of b's is even. use the * for repeat, and V to represent or. an example expression could be something like (BB)*, which could generate any string containing only B's where the number of B's is even. Another useful example is (AVB)*, which can generate any string containing only A's and B's. Note that there is an answer, but its not pretty.
This should do it I think: ((aa)*|(bb)*|abab|a(bb)*a|b(aa)*b|baba)* i used | instead of v since it is used in regexps
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
Space Invaders would probably have over 100 kpm. (I'm thinking of bonus game from MK3, but there are probably other versions that would be similar)
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
hmm are these jokes or serious?
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
nfq wrote:
Atheist nightmare, a guy proves intelligent design with a banana: http://www.youtube.com/watch?v=Y4yBvvGi_2A&feature=related i actually believe in intelligent design
That is funny because this video actually proves natural selection. The banana has been domesticated, meaning over generations it has been selected by humans to be as good as a food source as it can be. (http://en.wikipedia.org/wiki/Banana#History) This is not natural selection, because it is humans driving the change, it is still the same principle. This type of selection has occurred for virtually all staple crops, some of the bigger changes are corn. Originally corn was very small and hardly edible but over time it has been domesticated to what it is today. Note, that just like dogs, cows, etc people do not need even need to be aware (and usually they aren't) that they are domesticating the animals/crop and executing evolution. This is because it is beneficial to the food to be eaten because in the process its seeds are dispersed and planted in well fertilized spots (shit). The author also goes on to pick every coincidence about the banana as proof that god wants to make our life's easy and wonderful. However by choosing only the coincidences that support your theory and ignoring all the ones that don't you can prove anything you want.
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
An AI for hex would be very cool. moozooh very nice with the 14-0, but you said 5x riftgate and there are only 3. My opinion of the game is it is very good especially considering made by one person. Although I liked the spell card system, I would have liked if there were more types of effects you could use on enemies in battle, after a while every battle seemed the same to me, do damage, heal do damage heal, etc.
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
Well I stopped trying, because after the first fight it seemed no harder than the normal play though. It is probably possible to get near the end of the game. I don't know about some of theses bosses near the end though, I can barely defeat them with normal characters.
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
Aladdin?
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
Thanks pirate_sephiroth, but I went with Hal's method already. I've almost completed this game I think, but I got a cool idea for a challenge so I started it already before actually finishing. The challenge is to see how far you can get without ever gaining exp from random battles that you can run away from. Since the bosses give you so much exp, it might be possible to get very far. It is basically a standard low level game except your levels really won't be all that low (although as low as possible). It would seem easy compared to games like final fantasy 6 low level game where bosses tend not to give any exp (so you can stay as low as lvl 6), but in that game there are lots of ways to avoid enemy damage, whereas in this game there don't seem to be many besides physical/magical shield which is only 1/2. Anyways I so far I am only up through Farin Base, which means I have only killed 2 things so far, my levels are 8,10,12. Wondering if anyone else would like to attempt this too or if anyone is interested in hearing how it goes.
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
Ah thanks, I had just assumed that site was about installing japanese fonts, thanks.
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
When I run it, it says it requires MS Gothic font to display text properly. It seems to work fine without it, but I'd like to get this font anyways, but google was not much help. Can someone locate the file msgothic.ttc on their computer and send it to me or is there an easier way?
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
If there is more than one way for a pirate to distribute the coins, that still give him the same amount and guarantee acceptance of the proposal, shall we assume the proposing pirate chooses which proposal to use randomly, and that the other pirates know he will chose randomly? Edit, should we also assume you cannot give fractions of coins? That seems obvious, but if the pirates are as smart as you claim they are, then they could propose to flip a coin to see who gets a coin (thus acting like fractions).
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
Hmm, well if that is the case then isn't the wildest pirate going to get all of the coins in both problems? If there are 2 pirates, the wildest will get them all because he can vote for himself giving him the needed 50%. If there are 3, then the wildest can propose to give himself all. And he will win because the least wildest won't get any anyways so will accept. This is then repeated. I guess I must be misinterpreting something though because that wouldn't make it much of a problem.
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
If a pirate as a choice to make them walk, both yielding him the same amount of gold, which does he choose?
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
They probably came up with the idea independently.
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
This game sounds good, so I tried to instal it but failed. First it says I need dinput8.dll, so after finding this file and placing it in system directory, it now starts, the screen turns black and then it exits without doing anything. I downloaded both the game and english patch from http://agtp.romhack.net/project.php?id=lamulana. Normally I would try to check on project homepage for problems like this, but I assume it is all in Japanese so it would be no use. Any ideas how to fix this, or a site that might instruct me in english?
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
comicalflop wrote:
...have you considered how you're going to go about with categories (like will yours use DMD and everything to kill ganon as fast as possible, and just keep EG, any%, and 100% as the three categories where any% uses every glitch besides EG)...
100% should not be done for this game. The purpose of heats, bottles, etc is to make the game easier. Getting all these items would just take an extra 10 minutes or so, adding nothing in terms of entertainment as far as I can tell. An ideal example of a game that should be 100%ed is DKC2. Getting all the coins, does not make anything easier, it opens up new levels, and it has an in game percent measure, showing that you have indeed gotten 100% (102% in this case). Lttp has none of these things.
Speed Man wrote:
i got three questions: 1: how do you do the glitch to go past the screen outside link's house when you first start? (the Zelda Text Glitch i think it's called) 2: how long would that glitch take? 3: is that the only way to glitch past screens that arent hyrule castle when you start?
1: You attempt to walk through the guard. Every time Zelda's message appears you move 1 pixel. 2: I think it takes over 5 hours. 3: I don't think there is but check Zanapher's glitch faq at gamefaqs, it is where this glitch was posted anyways.
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
Dear Bisqwit, Thoughts on software patents?
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
You can buy a part that splits the video signal, send one part to a tv, the other to your computer. -sorry if this is not applicable to your specific situation.
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
Dear Fabian, I hope you don't mind me butting in.
supermegavkoy wrote:
but on the other hand do we all know that if your parents raise you in a bad way, punishing you, teach you bad values and so on, then they are exactly like a tumour poisoning your mind as well, and can you then really blame that child if he becomes a murderer, shouldn't you blame the parents?
But how can you blame the parents? Their actions are a result of they way their parents raised them. There is a philosophical view that believes no one is responsible for their actions, they are all results of their environment. If you believe in God you could say God caused everything to happen the way it did, if you do not, you could say physics determined everything based on the initial conditions. Even if you think the same initial conditions can lead to different results, it still doesn't mean you had a choice, it is just random. I think it is called determinism. This is a fine theory, but it does not mean people should not be punished for their crimes. The true purpose of laws and punishment is not justice. It is to deter crimes from happening in the first place. If you say oh well his parents raised him that way he shouldn't be punished. Then many more people will realize they won't be punished and thus will start killing people. PS my question for Fabian, is does it annoy you when people answer questions for you? Or is it ok to jump in?
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
Bisqwit wrote:
JXQ wrote:
What's your favorite programming language to write code in?
Academically my favourite programming language is Javascript. It has most of the features I like in a programming language. Before that, it used to be Ruby. I learned a bit of Python after learning Ruby, but it didn't beat Ruby. However, for practical programs, I use either PHP or C++. It is PHP usually when I deal with do-once-throw-away situations; C++ otherwise.
Dear Bisqwit, Why do you write something in PHP for a do-once-throw-away situation if you like javascript/ruby more?
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
Dear Bisqwit, Have you ever tried code golfing or entered the ioccc or the like?
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
mr_roberts_z wrote:
5. Why is this page stretched for no noticable reason?
Sorry to hijack Fabian, but the answer is because earlier someone posted the super long link http://www.bra.se/extra/measurepoint/?module_instance=4&name=ENGS UMMARY.pdf&url=/dynamaster/file_archive/051214/60257a9f34f07207c56 544c72654e44b/ENGSUMMARY.pdf PS thanks for your advice Fabian. Edit: oops its on page 7 now, better split that link so this page isn't stretched too.
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
Dear Fabian, My friend is totally whipped. Should I do anything about it and if so, what?
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
Experienced Forum User, Published Author, Player (201)
Joined: 7/6/2004
Posts: 511
moozooh wrote:
There is pretty much nothing you can do about it now, so just let it go.
I disagree, there is one thing he can do and that is to inform people about how shitty gbatemp is, and that's what he just did. So I guess I will never use gbatemp, although I hadn't heard of it until today.
g,o,p,i=1e4,a[10001];main(x){for(;p?g=g/x*p+a[p]*i+2*!o: 53^(printf("%.4d",o+g/i),p=i,o=g%i);a[p--]=g%x)x=p*2-1;}
1 2 3 4 5
20 21