When I was your age, our keyboards only had zeros and ones. While real programmers can survive with such limitations, it is obvious that kids these days will be at a complete loss when a single key on their keyboard malfunctions.
No? Prove it then. Show me how many keys you need to write a simple program. I bet even my grandmother can do better.
And while we're at that, don't get me started on the kind of memory constraints we faced. Real programmers know that every byte counts. But as a "programmer", you already knew that right? Show many how many bytes your program will need to complete a trivial task
And when you're done, GET OFF MY LAWN!
Given an integer 0 ≤ n ≤ 1000, print the number triangle as shown below. Sounds familiar? Good. You have no reason to fail then.
Your program has to pass all testcases for any point to be awarded
How your score is determined is dependent on the number of unique characters (excluding return carriages and new lines) contained in your source file:
|25||80 + 20 × 0.9max(0, c - 135)|
|26||60 + 20 × 100 / c|
|27||40 + 20 × 100 / c|
|28||20 + 20 × 100 / c|
|29||20 × 100 / c|
|>29||20 × 0.9c - 95|
is the total
number of characters in your source file including return carriages and new lines.
You may name your source file
and compile and run
as attached to score your code.
1 2 3
1 2 3 4
1 2 3 4 5