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:
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:
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:
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:
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:
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:
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:
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: