Archived
1
0
Fork 0
This repository has been archived on 2022-06-20. You can view files and clone it, but cannot push or open issues or pull requests.
mipt_clang/data/bit_2.c

19 lines
237 B
C
Raw Normal View History

2022-02-21 17:21:43 +03:00
#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;
}