Weekend Programming Challenge – Week #68 Text Formatting

non-formatedformatted

Problem:

Input text and width, then format the text in this width to be with no spaces at the end of the line. You can use this text to test your code

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday November 9th.

On Monday we will upload the solutions on GitHub https://github.com/OLIMEX/WPC

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.

Weekend Programming Challenge – Week #67 Solutions

book-pages

We got 25 solutions!

  • Python x10
  • C x4
  • C++ x4
  • Java x2
  • Ruby x1
  • JavaScript x1
  • Nimrod x1
  • Php x1
  • Perl x1

The solutions are on Github as usual.

Weekend Programming Challenge – Week #67 Missing pages in book

book-pages

Problem:

There is a book and a number of consecutive pages are missing from this book. All we know is that the sum of the page numbers of these pages is 9808.
Make code which calculates which are the missing pages and displays the result.

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday October 5th.

On Monday we will upload the solutions on GitHub https://github.com/OLIMEX/WPC

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.

Weekend Programming Challenge – Week #66 solutions

screenshot

We got 10 solutions this weekend:

  • Python x3
  • C x3
  • Bash x3
  • C++ x1

you can see the solutions on GitHub

Weekend Programming Challenge – Week #66 Christmas Tree ASCII art

bigger_christmas_tree_by_thatgrrl-d3j0kfd

Write shortest code which print on the console Christmas tree with ASCII art (picture may be different from the picture above).

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday September 28th.

On Monday we will upload the solutions on GitHub https://github.com/OLIMEX/WPC

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.

Weekend Programming Challenge – Week #65 Solutions

pcb3

We got 3 solutions this weekend:

  • bash x1
  • C# x1
  • C++ x1

You can see them on GitHub.

Weekend Programming Challange – Week #65 PCB resistance calculator

pcb3

Make PCB track resistance calculator which takes these input parameters:

  • track width  in units: (mm) or (mils)
  • track thickness in units: (mm) or (mils) or (oz per sq.ft)
  • track length in units: (mm) or (mils)
  • number of vias this track goes through
  • vias plating thickness in units (mm) or (mils)
  • vias drill diameter in units (mm) or (mils)

and displays resistance in Ohms.

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday September 21th.

On Monday we will upload the solutions on GitHub https://github.com/OLIMEX/WPC

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.

Previous Older Entries Next Newer Entries