Skip to content

Instantly share code, notes, and snippets.

Complex** alok(int n, int m)
{
Complex **A;
int k;
A = (Complex **) malloc(sizeof(Complex*) * n); // Alokowanie macierzy,$
for(k=0; k<=n; k++)
*(A+k) = (Complex*) malloc(sizeof(Complex) * (m+1)); // Dolacze$
return A;
/*
* File: main.c
* Author: lite
*
* Created on 15 marzec 2010, 22:19
*/
#define EXIT_FAIL 10
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#define MAX 10000
char tekst[MAX];
char *wzorzec;
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
int dl1, dl2;
int p, q;
int wynik[256];
int licznik;
SBOX = {"0" => "c",
"1" => "5",
"2" => "6",
"3" => "b",
"4" => "9",
"5" => "0",
"6" => "a",
"7" => "d",
"8" => "3",
"9" => "e",
#!/bin/sh
if [ "$X" -lt "0" ]
then
echo "X is less than zero"
fi
if [ "$X" -gt "0" ]; then
echo "X is more than zero"
fi
[ "$X" -le "0" ] && \
echo "X is less than or equal to zero"
irb(main):027:0> array2 = []; array = []
=> []
irb(main):028:0> 3.imes {|x| array << x}
irb(main):028:0> array = []
=> []
irb(main):029:0> 3.times {|x| array << x}
=> 3
irb(main):030:0> (1..3).each { |x| array.combination(x) { |y| array2 << y } }
=> 1..3
irb(main):031:0> array2
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
def LZW_decode(data)
data.map!{ |x| x.to_i }
d = {}
n = 7
d[1] = "a"
def lz78_encode(data)
slownik ={}
n = 1
c = ''
result = []
for s in data
if (!slownik.include?(c+s))
if c == ''
# symbol 's' nie występuje jeszcze w słowniku