AStat/examples/congruence/congruence_mul.c

6 lines
82 B
C

void main() {
int x = rand(-4,8);
x = 2*x;
x = 3*x + 2;
assert(x % 6 == 2);
}