CC Zone - Chip's Challenge Forum
Count to 2,000 - Printable Version

+- CC Zone - Chip's Challenge Forum (https://forum.bitbusters.club)
+-- Forum: Non-Chip's Challenge (https://forum.bitbusters.club/forum-6.html)
+--- Forum: Games and Trivia (https://forum.bitbusters.club/forum-23.html)
+--- Thread: Count to 2,000 (/thread-1703.html)



Count to 2,000 - Gavin - 21-Sep-2018

5 REM display the number 941

10 LET a$ = "9"

20 LET b$ = "4"

30 LET c$ = "1"

40 LET d$ = a$ + b$ + c$

50 LET number = VAL(d$)

60 PRINT number


Count to 2,000 - Gavin - 21-Sep-2018

package arraysstrings;

import java.util.Arrays;

public class ArraysStrings {

public static void main(String[] args) {



// Display the number 942



String[] aryString = new String[3];



aryString[0] = "9";

aryString[1] = "4";

aryString[2] = "2";



int i;



for (i = 0; i < aryString.length; i++){

System.out.println(aryString);

}





}




}









Count to 2,000 - H2O - 21-Sep-2018

liftM2 (*) ((succ (succ 0) +) . (`div` succ (succ 0))) pred (product (((:) =<< sum . (++ [succ (succ 0)])) [succ (succ 0), succ (succ (succ 0))]))


Count to 2,000 - random 8 - 21-Sep-2018

#include <stdio.h>

int main(void)

{

printf("944\n");

return 0;

}


Count to 2,000 - H2O - 21-Sep-2018

foldl1 (-) (ap map (ap ((:) . sum . ap map ((: [succ 1, 1, 1]) . succ . ($ succ 1))) (return . ($ succ 1))) (length . mapM id . replicate (succ 1) . enumFromTo 1))


Count to 2,000 - Gavin - 04-Oct-2018

945++

what language is that H20?


Count to 2,000 - The Architect - 04-Oct-2018

947

Quote:3 hours ago, Gavin said:

945++

This actually produces the value 945. Teeth


Quote:3 hours ago, Gavin said:

what language is that H20?

I think it's Haskell, but I'm not sure.


Count to 2,000 - H2O - 04-Oct-2018

Which language is used to calculate 943 and 945?

Code:
> flip runReader language $ asks id
"Haskell"


Code:
pack [label .l -text 948]



Count to 2,000 - random 8 - 05-Oct-2018

[Image: Jacques_949.gif]


Count to 2,000 - H2O - 10-Oct-2018

Code:
io.write(950)