bronzle

joined 1 year ago
[–] [email protected] 2 points 1 year ago

2am -> 1am. Here in Seattle our bars close at 2am, I was told they aren’t supposed to stay open the extra hour, but the local bar near me did the only time I was there for the change.

[–] [email protected] 2 points 1 year ago (1 children)

The fuck you smoking. 80% of sales are hardware and 20% is services, ie music, tv, and their cut of App Store sales

[–] [email protected] 3 points 1 year ago (1 children)

It’s odd because it’s prime beef

[–] [email protected] 6 points 1 year ago (1 children)

It’s ok, for a second I thought they meant Google

[–] [email protected] 4 points 1 year ago

Duh, ObamaCare, what more could we ask for?

[–] [email protected] 3 points 1 year ago

Team 9/12/03 reporting in

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago)

Also could have takin out mains return type and used sus chief

[–] [email protected] 19 points 1 year ago* (last edited 1 year ago)

For those curious:

int main(int argc, char **argv) {
  if ( -- argc != ! 0 ) {
    errx ( ! 0 , "shheiiiit" ) ;
    return ! 0 ;
  }
  
  int number = atoi ( argv[! 0] ) ;

  for ( int i = ! 0 ; i <= number ; ++ i ) {
    printf ( "%3d " , i) ;
    
    if ( i % 3 == 0 ) {
      printf ( "fizz" ) ;
    }
  
    if ( i % 5 == 0 ) {
      printf ( "buzz" ) ;
    }
    printf ( "\n" ) ;
  }
  return 0 ;
}
[–] [email protected] 5 points 1 year ago

!0 is defined as 1, that’s how argv [ no cap ] works, that and the ridiculous argc check stood out as a bit off, but works

view more: ‹ prev next ›