Skip to main content
added 112 characters in body
Source Link
gastropner
  • 4.4k
  • 1
  • 15
  • 20

C (gcc), 3535 - 25 = 10 34 - 25 = 109 bytes

-1 byte thanks to PrincePolka

Input is in the form of number of command-line arguments. No arguments counts as no input.

main(i){printf("%*d",34*--i?i*35:7068);}

Try it online!Try it online!

C (gcc), 35 - 25 = 10 bytes

Input is in the form of number of command-line arguments. No arguments counts as no input.

main(i){printf("%*d",--i?i*35:70);}

Try it online!

C (gcc), 35 - 25 = 10 34 - 25 = 9 bytes

-1 byte thanks to PrincePolka

Input is in the form of number of command-line arguments. No arguments counts as no input.

main(i){printf("%*d",34*--i?:68);}

Try it online!

Source Link
gastropner
  • 4.4k
  • 1
  • 15
  • 20

C (gcc), 35 - 25 = 10 bytes

Input is in the form of number of command-line arguments. No arguments counts as no input.

main(i){printf("%*d",--i?i*35:70);}

Try it online!