Tema Cerrado
Página 1 de 6 1 2 3 ... ÚltimoÚltimo
Resultados 1 al 10 de 53

Tema: Programmers’ Day

  1. #1
    Community Manager Avatar de BB_Sious
    Fecha de Ingreso
    21 mar, 17
    Mensajes
    1,405
    Mundo
    Tierras Salvajes

    Programmers’ Day

    Dear Settlers,

    Today is the day of the programmer. Have you always wondered how codes look like and how they even work?
    Well, you can try to solve the following Code even without being a programmer.


    • Give it a try and solve the Code. Post your answer in this thread.


    Note: Answers will stay hidden until September 17th at 13:00 CEST, this way everyone has a chance to become a coder.


    Código:
    // If you can read this code, tell your Community Manager the secret word and win a small prize.
    
    Var	Prize_Crystals
    Var	reverse = function(s) {
         return s.split (“”)reverse( ).join(“”);
    }
    Var	communitymanager = {
        Str1: “al”,
        Str2: reverse(“hti”)
        Str3: reverse(“tne”)
        Str4:reverse(“nro”)
        Str5: “am”,
        Str6:reverse(“ms”)
    
        request: function(preference) {
             return preference + “. Secret word: “
             +thisstr4+thisstr5+thisstr3+thisstr1+thisstr6+thisstr2;
        }
    };
    communitymanager.request (Prize_Crystals)
    Please note this is just a small "look" into a very complex theme. It is, in fact, not a "real" working code
    Última edición por BB_Sious; 14/09/2018 a las 16:00 Razón: typo
    Si necesitas asistencia, por favor, ponte en contacto con soporte al cliente. De igual forma, no dudes en contactarme; pero, envía tu mensaje en inglés por favor.

  2. #2

    Fecha de Ingreso
    01 ene, 16
    Mensajes
    3
    Mundo
    Tierras Salvajes
    ornamental smith

  3. #3

    Fecha de Ingreso
    14 jul, 12
    Mensajes
    2
    Mundo
    Tierras Salvajes
    The answer is "ornamental smith"

  4. #4

    Fecha de Ingreso
    20 jul, 12
    Mensajes
    8
    Mundo
    Tierras Salvajes

    La respuesta es:

    Ornamental Smith

  5. #5
    Avatar de Kampesino
    Fecha de Ingreso
    17 abr, 16
    Mensajes
    23
    Mundo
    Tierras Salvajes
    ornamentalsmith

  6. #6
    Avatar de SilVaM
    Fecha de Ingreso
    11 sep, 12
    Mensajes
    54
    Mundo
    Tierras Salvajes
    Si la variable se define como

    Código:
    Var Prize_Crystals
    y la función es :

    Código:
    communitymanager.request (Prize_crystal)
    entonces hay un error de parse dado que no coinciden ambas variables.

    Si obviamos todo eso, la respuesta es:

    ornamental smith
    SilVaM de yggdrasil

  7. #7

    Fecha de Ingreso
    29 nov, 17
    Mensajes
    7
    Mundo
    Tierras Salvajes
    Ornamentalsmith

  8. #8

    Fecha de Ingreso
    02 may, 18
    Mensajes
    8
    Mundo
    Tierras Salvajes
    ornamentalsmith

  9. #9
    Avatar de YACK5000
    Fecha de Ingreso
    30 abr, 16
    Mensajes
    14
    Mundo
    Tierras Salvajes

    Programmers' Day

    Buenas tardes, la respuesta correcta es: "ornamentalsmith".
    Saludos.

  10. #10

    Fecha de Ingreso
    04 nov, 14
    Mensajes
    11
    Mundo
    Tierras Salvajes
    Hi there!

    I think that's Javascript language. I only studied Python, but I guess the word is "ornamental smith". The reverse function does what the name says, reverse the string. Therefore,
    Str1 = al
    Str2 = ith
    Str3 = ent
    Str4 = orn
    Str5 = am
    Str6 = sm

    Finally, the code concatenate the strings in this order: 4,5,3,1,6,2
    obtaining: orn+am+ent+al+sm+ith

    Thank you for the challenge!

Tema Cerrado

Permisos de Publicación

  • No puedes crear nuevos temas
  • No puedes responder temas
  • No puedes subir archivos adjuntos
  • No puedes editar tus mensajes

Utilizamos cookies propias y de terceros para mejorar su experiencia, personalizar y analizar su navegación y mostrarle publicidad relacionada con sus preferencias. Si sigue navegando, consideramos que acepta su uso. Para cambiar la configuración u obtener mas información consulte la Politica de cookies.