WNAME - Weekdays
This is probably one of the easiest problem, all you need to do is to output the name of the weekdays! The only challenge is that the size of your code, should not exceed the maximum of 55 bytes.
Score is the length of the source.
Input
NONE
Output
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Please Note: I am moving this back to tutorial on 24th Nov 2010.
hide comments
Wolfram:
2010-11-24 14:49:44
Score?
|
|
Michael T:
2010-11-24 14:49:44
@Debanjan: Not necessarily I guess. But well "not in all langs possible" can be ok. |
|
XeRoN!X:
2010-11-24 14:49:44
Even Perl is not enough to get the best solution :(
|
|
Michael T:
2010-11-24 14:49:44
Maybe 60? And if there would be too much easy-accepted then 55. Plain C possibility shouldn't be a reason, these ACs can be really tricky.
|
|
numerix:
2010-11-24 14:49:44
Should stay in tutorial section. There are several languages where 64 Bytes are enough to just print the output. As it will probably not be possible to have an AC solution with say less than 30 Bytes, anyone can get more than 0.5 points for some seconds of coding.
|
|
:(){ :|: & };::
2010-11-24 14:49:44
|
|
.:: Pratik ::.:
2010-11-24 14:49:44
Maybe put in a challenge contest?
|
Added by: | :(){ :|: & };: |
Date: | 2010-11-16 |
Time limit: | 0.100s |
Source limit: | 55B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ASM32-GCC GAWK MAWK BC C-CLANG NCSHARP CPP14 CPP14-CLANG COBOL COFFEE D-CLANG D-DMD DART ELIXIR FANTOM FORTH GOSU GRV JS-MONKEY JULIA KTLN NIM NODEJS OBJC OBJC-CLANG OCT PICO PROLOG PYPY PYPY3 PY_NBC R RACKET RUST CHICKEN SED SQLITE SWIFT UNLAMBDA VB.NET |
Resource: | From a shortening contest (modified) |