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.
19 lines
237 B
C
19 lines
237 B
C
3 years ago
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <string.h>
|
||
|
|
||
|
int main() {
|
||
|
char s[3] = "";
|
||
|
int x;
|
||
|
strcpy(s, getenv("CODE"));
|
||
|
|
||
|
x = strtoq(s, NULL, 16);
|
||
|
|
||
|
x = x >> 2;
|
||
|
if (x & 1)
|
||
|
printf("ha\n");
|
||
|
else
|
||
|
printf("nh\n");
|
||
|
return 0;
|
||
|
}
|