Skip to main content
added 375 characters in body
Source Link
nwellnhof
  • 10.6k
  • 1
  • 20
  • 38

C89/C99, 25 bytes, 2 versions, score = 12.5

#include <stdio.h> int main() { int v = 11 //**/ 11 + 88; printf("C%d\n", v); return 0; } 

// style comments aren't recognized in C89.

Golfed version:

v(){return 20//**/2 +79;} 

Try it online: C89, C99

C89/C99, 25 bytes, 2 versions, score = 12.5

#include <stdio.h> int main() { int v = 11 //**/ 11 + 88; printf("C%d\n", v); return 0; } 

// style comments aren't recognized in C89.

Golfed version:

v(){return 20//**/2 +79;} 

C89/C99, 25 bytes, 2 versions, score = 12.5

#include <stdio.h> int main() { int v = 11 //**/ 11 + 88; printf("C%d\n", v); return 0; } 

// style comments aren't recognized in C89.

Golfed version:

v(){return 20//**/2 +79;} 

Try it online: C89, C99

deleted 4 characters in body
Source Link
nwellnhof
  • 10.6k
  • 1
  • 20
  • 38

C89/C99, 2925 bytes, 2 versions, score = 1412.5

#include <stdio.h> int main() { int v = 11 //**/ 11 + 88; printf("C%d\n", v); return 0; } 

// style comments aren't recognized in C89.

Golfed version:

int v(){return 20//**/2 +79;} 

C89/C99, 29 bytes, 2 versions, score = 14.5

#include <stdio.h> int main() { int v = 11 //**/ 11 + 88; printf("C%d\n", v); return 0; } 

// style comments aren't recognized in C89.

Golfed version:

int v(){return 20//**/2 +79;} 

C89/C99, 25 bytes, 2 versions, score = 12.5

#include <stdio.h> int main() { int v = 11 //**/ 11 + 88; printf("C%d\n", v); return 0; } 

// style comments aren't recognized in C89.

Golfed version:

v(){return 20//**/2 +79;} 
added 97 characters in body
Source Link
nwellnhof
  • 10.6k
  • 1
  • 20
  • 38

C89/C99, 29 bytes, 2 versions, score = 14.5

#include <stdio.h> int main() { int v = 11 //**/ 11 + 88; printf("C%d\n", v); return 0; } 

// style comments aren't recognized in C89.

Golfed version:

int v(){return 20//**/2 +79;} 

C89/C99

#include <stdio.h> int main() { int v = 11 //**/ 11 + 88; printf("C%d\n", v); return 0; } 

// style comments aren't recognized in C89.

C89/C99, 29 bytes, 2 versions, score = 14.5

#include <stdio.h> int main() { int v = 11 //**/ 11 + 88; printf("C%d\n", v); return 0; } 

// style comments aren't recognized in C89.

Golfed version:

int v(){return 20//**/2 +79;} 
Source Link
nwellnhof
  • 10.6k
  • 1
  • 20
  • 38
Loading