You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
215 B
C

#include <stdint.h>
uint32_t main(uint32_t tid) {
uint32_t i, a = tid;
for (i = 0; i < 10; i++) {
a = a + i + 1;
}
if (a == 55+tid) {
return 0;
} else {
return 0x8000000 + a;
}
}