|
|
#51 |
![]() ![]() Join Date: Jun 2009
Location: up sh*t creek without a paddle
Posts: 7,674
Likes: 2,771
Liked 5,292 Times in 2,530 Posts
Mentioned: 360 Post(s)
Tagged: 1 Thread(s)
|
|
|
|
|
|
Likes: (1) |
|
|
#52 |
|
Member
![]() Join Date: Aug 2011
Location: at my computer
Posts: 461
Likes: 186
Liked 246 Times in 137 Posts
Mentioned: 26 Post(s)
Tagged: 0 Thread(s)
|
off topic
Chocolate covered pretzel anyone? Mall rats good movie.
Edit... damn @japsander that was fast, well maybe not but I just read it Last edited by Ubefuct; 03-15-2012 at 05:22 PM. |
|
|
|
|
|
#53 |
![]() ![]() Join Date: Sep 2010
Location: Canada
Posts: 1,393
Likes: 4,053
Liked 850 Times in 486 Posts
Mentioned: 127 Post(s)
Tagged: 0 Thread(s)
|
Not to hijack but, Mallrats.. great movie!
__________________
Help, im stuck!
![]() |
|
|
|
|
|
#54 | |
|
Apprentice
![]() Join Date: Feb 2012
Posts: 13
Likes: 10
Liked 6 Times in 3 Posts
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
|
![]() http://pastie.org/3601788 Code:
//You've got the number 7_3_6_4_48 where the blanks are filled with the
//digits in {4,5,6,7} (every digit only used once). What is the chance
//for all the possible numbers to be divisible by 36? Solution in C:
#include <stdio.h>
#define H 100LL
int main(){long long int t,c[]={4,5,6,7};int i,j,k,l,z=0,a=0;
for(i=0;i<4;i++)for(j=0;j<4;j++)for(k=0;k<4;k++)
for(l=0;l<4;l++)if(i!=j&&i!=k&&i!=l&&j!=k&&j!=l&&k!=l)
{t=7030604048+c[i]*H*H*H*H+c[j]*H*H*H+c[k]*H*H+c[l]*H;
if(t%36==0)a++;z++;}printf("%d/%.2f%%",a,100*(float)z/a);}
//I mean you could solve it with simple math too,
//but where is the fun in that?
Checkout the new one, is pretty cool :D http://pastie.org/3602474 Code:
#include <stdio.h>
#include <string.h>
#define UC unsigned char
#define US unsigned short
#define UI unsigned int
#define D 128
#define S (18+D*D*3)
void p(UC *t,US x,US y, UI c){t+=D*y*3+x*3;*t++=c&0xFF;*t++=(c&0xFF00)>>8;*t=(c&0xFF0000)
>>16;}int main(){int x,y,i;UC d[S],*t=d+18;memset(d,0,18);memset(t,0xFF,S-18);*(d+2)=2;*(
US*)(d+12)=D;*(US*)(d+14)=D;*(d+16)=24;for(y=0;y<D;y++)for(x=0;x+y<D;x++)(!(x&y))?p(t,x,y
,0xE16F00):p(t,D-x,D-y,0x1E90FF);FILE*fp=fopen("s.tga","wb");fwrite(d,1,S,fp);fclose(fp);}
Last edited by bcklzz; 03-15-2012 at 05:56 PM. |
|
|
|
|
|
|
#55 | |
|
Member
![]() Join Date: Feb 2012
Posts: 337
Likes: 52
Liked 170 Times in 97 Posts
Mentioned: 20 Post(s)
Tagged: 0 Thread(s)
|
|
|
|
|
|
|
|
#56 |
|
Member
![]() Join Date: Oct 2011
Posts: 741
Likes: 425
Liked 744 Times in 290 Posts
Mentioned: 118 Post(s)
Tagged: 0 Thread(s)
|
I like the way he shows us hints. Reminds me of a french dude i used to see on #ps3dev who started giving hints aswell. That reminds me, they seem to share that they both "know" what they're talking about :P
__________________
"Whoever has ears, let them hear."
|
|
|
|
|
Likes: (1) |
|
|
#57 |
|
Member
![]() Join Date: Feb 2011
Posts: 343
Likes: 98
Liked 149 Times in 87 Posts
Mentioned: 25 Post(s)
Tagged: 0 Thread(s)
|
Or a person with a little programming experience??
__________________
![]() If you're reading this then you have a (BAD WORD) life i guess :P |
|
|
|
|
|
#58 |
|
Member
![]() Join Date: Feb 2011
Posts: 915
Likes: 311
Liked 453 Times in 299 Posts
Mentioned: 79 Post(s)
Tagged: 0 Thread(s)
|
I would dare say, a good programmer cannot avoid going hand in hand with some degree of mathematical ability.
|
|
|
|
|
Likes: (1) |
|
|
#59 |
|
Member
![]() Join Date: Feb 2011
Posts: 343
Likes: 98
Liked 149 Times in 87 Posts
Mentioned: 25 Post(s)
Tagged: 0 Thread(s)
|
And i would dare say, this have noting *Noting at all to do with the PS3! i don't get why it's posted here, plus why are we still making threads about tweets? didn't we learn from the past mistakes *fakes?
__________________
![]() If you're reading this then you have a (BAD WORD) life i guess :P |
|
|
|
|
Likes: (1) |
|
|
#60 |
|
Member
![]() |
this is one of those things where you can see the light at the end of the tunnel, however to get to the end, all of the boulders has to be cleared in order to get through safely. Speaking for myself, If the PS3 is cracked again, happy days. If not, i can wait. Let those in the know work it out without pressure so that we can have happy days again.
__________________
Alucard: Bet your a skank!
Hellsing: Bet your an arsehole! Alucard: B**CH I EAT PEOPLE!!! |
|
|
|
|
Likes: (1) |
![]() |
| Bookmarks |
| Thread Tools | |
|
|