one arm chin-up

This is a discussion on one arm chin-up within the A Brief History of Cprogramming.com forums, part of the Community Boards category; What's a "pullup"? Can I have it as a Firefox plugin?...

  1. #16
    Registered User
    Join Date
    Mar 2006
    Posts
    725
    What's a "pullup"? Can I have it as a Firefox plugin?
    Code:
    #include <stdio.h>
    
    void J(char*a){int f,i=0,c='1';for(;a[i]!='0';++i)if(i==81){
    puts(a);return;}for(;c<='9';++c){for(f=0;f<9;++f)if(a[i-i%27+i%9
    /3*3+f/3*9+f%3]==c||a[i%9+f*9]==c||a[i-i%9+f]==c)goto e;a[i]=c;J(a);a[i]
    ='0';e:;}}int main(int c,char**v){int t=0;if(c>1){for(;v[1][
    t];++t);if(t==81){J(v[1]);return 0;}}puts("sudoku [0-9]{81}");return 1;}

  2. #17
    Registered User DavidG's Avatar
    Join Date
    Mar 2006
    Location
    England
    Posts
    13
    I couldn't do it without both arms and a stepladder.

  3. #18
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    I can't get 2 1/2, and then it takes me so long to do the third that by the time I'm half way there I'm engaged in a serious tickle fight.

  4. #19
    Registered User mrafcho001's Avatar
    Join Date
    Jan 2005
    Posts
    483
    I cant do pullups with one arm, but i can do push ups with my girlfriend on my back.
    My Website
    010000110010101100101011
    Add Color To Your Code!

  5. #20
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Bet you couldn't do 'em with your mama on your back!

  6. #21
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    I've got no problem doing them with your mama under me, sean

  7. #22

    Join Date
    May 2005
    Posts
    1,041
    Just remember that no matter what, Chuck Norris could kill all of you...except for me, because Vick Mackey would protect me, and if those two guys fought I'm pretty sure the universe would explode.
    I'm not immature, I'm refined in the opposite direction.

  8. #23
    C / C++
    Join Date
    Jan 2006
    Location
    The Netherlands
    Posts
    312
    Quote Originally Posted by BobMcGee123
    Just remember that no matter what, Chuck Norris could kill all of you...except for me, because Vick Mackey would protect me, and if those two guys fought I'm pretty sure the universe would explode.
    Operating Systems:
    - Ubuntu 9.04
    - XP

    Compiler: gcc

  9. #24

    Join Date
    May 2005
    Posts
    1,041
    Upon second reading of my post it may appear that it had nothing to do with this thread.
    I'm not immature, I'm refined in the opposite direction.

  10. #25
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    Quote Originally Posted by BobMcGee123
    Just remember that no matter what, Chuck Norris could kill all of you...except for me, because Vick Mackey would protect me, and if those two guys fought I'm pretty sure the universe would explode.
    Vic Mackey would mop the floor with Chuck Norris. Even if he didn't, Shane would drop a grenade in his lap.

    That wouldn't be an issue, though. Vic would find a way to get Norris shivved by the Niners.

  11. #26

    Join Date
    May 2005
    Posts
    1,041
    Govt, I feel substantially closer to you after this interaction.

    Have a nice day!
    I'm not immature, I'm refined in the opposite direction.

  12. #27
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    Ain't no problem with two brothas expressing their love for the Shield

  13. #28
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    But Bob, I thought I was the only one!!
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  14. #29
    ---
    Join Date
    May 2004
    Posts
    1,379
    Quote Originally Posted by psychopath
    You're posting on a programming forum, and you're trying to tell me that you can do pull-ups?

    Nice try.
    I am a hobbyist bodybuilder. But I don't post here much anymore. That means I'm just a nerd in denial

  15. #30

    Join Date
    May 2005
    Posts
    1,041
    Hahahaha, that guy has real friends, HE SUCKS!!!
    I'm not immature, I'm refined in the opposite direction.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Thinking of learning assembler, ARM?
    By Subsonics in forum Tech Board
    Replies: 8
    Last Post: 06-15-2009, 05:30 PM
  2. 3 Joints, how to Synchronise
    By Bobby230 in forum C Programming
    Replies: 1
    Last Post: 03-05-2006, 03:39 PM
  3. Mind-Reading chip for the disabled
    By JaWiB in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 04-04-2005, 01:44 PM
  4. How many CPU cycles (ARM) for add vs if..then
    By Pea in forum C Programming
    Replies: 11
    Last Post: 01-26-2005, 02:40 PM
  5. Arm Processor - StartEasy
    By kostxatz in forum C Programming
    Replies: 2
    Last Post: 01-23-2005, 05:47 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21