Andreas Enge on Mon, 22 Nov 2021 11:11:47 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: GP runs on iOS


Hello,

Am Fri, Nov 19, 2021 at 08:10:34AM +0100 schrieb Philippe de Rochambeau:
> 2) Caesar
> alphabet = Vecsmall("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
> get(v,i) = v[((i)%#v)+1]
> caesar(s,n) = {
>     n1 = [get(n,i + s) | i <- [0..#n - 1]];
>     strchr(n1)
> }
> c = caesar(3, alphabet)
> print(c)
> 
> On Android, it caused ParidDroid to freeze

I just tested it on my phone with LineageOS 17.1 (Android 10), and the code
works without problems. So I do not think it is a problem with PariDroid.

Andreas