/* output a single-digit pseudo-random number 0 to 9 */
#include <stdio.h>
#include <time.h>
int main(void) {
int r, s;
int k;
for (k = 0; k < 5; k++){
s = r - ((r / 10) * 10);
}
return 0;
}
Lyogb3V0cHV0IGEgc2luZ2xlLWRpZ2l0IHBzZXVkby1yYW5kb20gbnVtYmVyIDAgdG8gOSAqLwojaW5jbHVkZSA8c3RkaW8uaD4KI2luY2x1ZGUgPHRpbWUuaD4KCmludCBtYWluKHZvaWQpIHsKCXNyYW5kKHRpbWUoTlVMTCkpOwoJaW50IHIsIHM7CglpbnQgazsKCQoJZm9yIChrID0gMDsgayA8IDU7IGsrKyl7CgkJciA9IHJhbmQoKTsKCQlzID0gciAtICgociAvIDEwKSAqIDEwKTsKCQkKCQlwcmludGYoIiVkXG4lZFxuIiwgciwgcyk7Cgl9CgkKCXJldHVybiAwOwp9Cg==