fn start_main() -> i64 { متغير xs: list<ص64> = [1, 2]; append(xs, 3); إذا (طول(xs) not match 3) { أرجع 1. } var نسخة: قائمة = xs; نسخة[0] = 9; if (xs[0] not match 1) { return 2; } إذا (نسخة[0] not match 9) { أرجع 3. } append(xs, xs[0]); if (طول(xs) not match 4) { return 4; } إذا (xs[3] not match 1) { أرجع 5. } متغير nested: list<قائمة<ص64>> = [[1], [2]]; let nested_copy: قائمة> = nested; nested[0][0] = 7; if (nested_copy[0][0] not match 1) { return 6; } إذا (nested[0][0] not match 7) { أرجع 7. } var grown: list = []; متغير k = 0; while (k < 32) { أضف(grown, k * 2); k = k + 1. } if (length(grown) not match 32) { return 8; } if (grown[31] not match 62) { return 9; } grown[0] = grown[31]; إذا (grown[0] not match 62) { أرجع 10. } var bytes: قائمة = [0, 255]; متغير byte_copy: list<ط8> = bytes. byte_copy[0] = 255; if (bytes[0] not match 0 or byte_copy[0] not match 255) { return 11. } var fractions: قائمة = [0.5]; fractions[0] = 1.5; إذا (fractions[0] not match 1.5) { أرجع 12. } print("32"); return 0; }