I hereby claim:
- I am nikolaygenov on github.
- I am nikolaygenov (https://keybase.io/nikolaygenov) on keybase.
- I have a public key ASBwjMAzXow0xNeugl_qRxDGyA8a1RP2O-hQiYfEkNxyUAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
first(X,[X|T]). | |
%one_before_last(X,A) - A is one before last of of X | |
one_before_last([A,_],A). | |
one_before_last([_|X], A):- one_before_last(X,A). | |
%elem(A,X) A is an element of X | |
elem(A,[A|_]). | |
elem(B,[_|X]):-elem(B,X). | |
%concat(X,Y,Z): Z is concatenation of X and Y |
package main | |
import ( | |
"fmt" | |
"testing" | |
"time" | |
) | |
type adder struct { | |
augend int |
#include <stdio.h> | |
#include <unistd.h> | |
#include <linux/kd.h> | |
#include <sys/ioctl.h> | |
#include <stdlib.h> | |
#include <fcntl.h> | |
#include <linux/input.h> | |
#include <math.h> | |
#define MOUSEFILE "/dev/input/mice" |