init commit

This commit is contained in:
2025-04-13 21:48:15 +03:00
commit 23255e9121
192 changed files with 12200 additions and 0 deletions
Executable
+22
View File
@@ -0,0 +1,22 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <sys/types.h>
int
main(int argc, char **argv)
{
long long unsigned int tmp, res = 0;
while (scanf("%llu", &tmp) != EOF) {
for (int i = 0; i < sizeof(tmp) * 8; i += 2) {
if (!((tmp >> i) & 0x3)) {
res++;
}
}
}
printf("%llu\n", res);
return 0;
}