3 "(Ropp "^int_to_cic (-n)^")"
8 |k -> "(Rplus R1 " ^ int_to_cic (n-1) ^")"
14 let vl = [|"x";"y";"z";"t";"u";"v";"w";"g";"h";"j";"l";"m";"n";"o";"p";"q";"r";"s";"a";"b";"c";"d"|]
23 print_string ("!"^nth_inc i^":R.");
29 print_string "Immetti m : ";dimy := (read_int ()) - 1;
30 print_string "Immetti n : ";dimx := (read_int ()) - 1;
31 print_string "Immetti K : ";kmax := (read_int ()) + 1;
32 print_string ("Genero un sistema di "^
33 string_of_int (!dimy+1)^" disequazioni in "^
34 string_of_int (!dimx+1)^" incognite con coefficenti "^string_of_int !kmax^"\n\n");
42 let k = ref ((Random.int !kmax)) in
43 if !k > !max then max := !k;
48 print_string ("(Rplus (Rmult "^int_to_cic !k^" "^nth_inc o^") ");
50 print_string "(Ropp R1)";
54 print_string (" R0)\n->\n");
57 print_string ("\n\nIl massimo K e' "^string_of_int !max^".\nLa tesi la puoi scegliere tu, ma se ricopi una ipotesi vai tranquillo.\n");