Code Monkey home page Code Monkey logo

multisoft-code-solutions's Introduction

Solutions made so far and found mystery codes.

Links to all solutions:       Python     JavaScript     C     GDScript     R     LOLCODE     COBOL     SQL     TypeScript

1.

1st mystery code.

Raw text from picture:

s = ''
a = '1112031584'
for (i = 1; i < length(a); i++) {
    if (a[i] % 2 == a[i-1] % 2) {
        s += max(a[i], a[i-1])
    }
}
goto_url('www.multisoft.se/' + s)

Languages solved in:

2.

2nd mystery code.

Raw text from picture:

s = ""
a = [5, 8, 9, 0, 66, 18]
for (i = 1; i < length(a); i++)
    if (isEven(a[i]) and a[i - 1] % 3 == 0)
        s += a[i] / 2
    else
        s += a[i] * 2

goto_url("www.multisoft.se/" + s)

Languages solved in:

3.

3rd mystery code.

Raw text from picture:

fun(n)
    if n == 0 return 2
    else if n == 1 return 1
    else return fun(n - 1) + fun(n - 2)

s = ''
for (i = 1; i < 6; i++)
    s += toString(fun(i))

goto_url('www.multisoft.se/' + s)

Languages solved in:

4.

4th mystery code.

Raw text from picture:

s = ""
a = 3
while (a != 1) {
    s += toString(a)
    if (a % 2 == 0)
        a = a / 2
    else
        a = 3 * a + 1
}

goto_url("www.multisoft.se/" + s)

Languages solved in:

5.

5th mystery code.

Raw text from picture:

a = ''
s = '527918932189'
for (i=1; i<len(s)-1; i++):
    if (abs(s[i-1]- s[i+1]) == s[i]):
        a += s[i]

goto_url('www.multisoft.se/' + a)

Languages solved in:

6.

6th mystery code.

Raw text from picture:

int x = 15 * 7 * 5 * 13;

String f( int i ) {
    int k = 2;
    while( k <= i) {
        if ( i%k == 0 ) {
            return ( f( i/k ) + k.ToString() );
        }
        k=k+1;
    }
    return "";
}

goto_url( www.multisoft.se/ + f(x) );

Languages solved in:

7.

7th mystery code.

Raw text from picture:

s = ""
a = [3, 8, 5, 1, 8, 5, 3, 2, 7]
i = 0
while i < length(a)
    if a[i] % 2 != 0
        s += a[i] + a[a[i]]
        i += 2
    else
        i -= 1

goto_url( www.multisoft.se/ + f(x) );

Languages solved in:

8.

8th mystery code.

Raw text from picture:

s = ""
a = [1, 4, 6]
b = [2, 7]

for n in a:
    for m in b:
        if (n + m) % 2 == 0:
            s += str(a[(n + 1) % len(a)])
        else:
            s += str(b[(m + 1) % len(b)])

goto_url("www.multisoft.se/" + s)

Languages solved in:

multisoft-code-solutions's People

Contributors

krazivan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.