Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
#include <stdlib.h>
#include <stdio.h>
using namespace std;
int main(void){
unsigned long long int testN;
int x, y;
bool b = false;
#include <iostream>
using namespace std;
int main(void){
int x,y;
bool b = false;
cin >> x;
y = 2;
#include <iostream>
#include <stdio.h>
using namespace std;
int main(void){
int x,y;
cin >> x;
y = 2;
#include<iostream>
using namespace std;
int main(void){
int x,y;
cin >> x;
y = 2;
while (x > 1){
PROGRAM baraba;
TYPE
niz = ARRAY[1..100] OF integer;
VAR
x: niz;
n: integer;
PROCEDURE unos(VAR x: niz; n: integer);
VAR
i: integer;
PROGRAM z46;
TYPE niz = ARRAY[1..100] OF integer;
VAR
x: niz;
i, n, cNZD: integer;
PROCEDURE unos(n: integer; var x: niz);
VAR i: integer;
BEGIN
FOR i:=1 TO n DO
BEGIN
@drage0
drage0 / Z45.pas
Last active April 25, 2016 17:20
PROGRAM z45;
TYPE niz = ARRAY[1..100] OF integer;
VAR
x, y : niz;
n, i, j : integer;
PROCEDURE unos(n: integer; var x: niz);
VAR i: integer;
BEGIN
FOR i:=1 TO n DO
BEGIN
PROGRAM z44;
TYPE niz = ARRAY[1..100] OF integer;
VAR
x: niz;
n: integer;
PROCEDURE unos(n: integer; var x: niz);
VAR i: integer;
BEGIN
FOR i:=1 TO n DO
@drage0
drage0 / ss.lua
Last active April 24, 2016 00:27
local delayAm = 1; -- Default delay amount, in seconds
local countdown = 5; -- Countdown amount
local initDotAm = 4; -- Amount of dots when initializing
local initDotAmCur = 0; -- Used in initText, DO NOT change by hand
local startTextDelay = 0.3; -- Used in slap text
local perTextDelay = 0.1; -- Delay between letters in perText*()
local waitProsSpawn = 10; -- When are we sure all the props are spawned?
local function isWhitespace(s)
return (s == ' ');
program zadatak2;
type niz = array[1..1000] of integer;
var
x, y: niz;
i, j, minI, n: integer;
minS, s: real;
function dist(x0, y0, x1, y1: integer): real;
begin
dist := sqrt((x0-x1)*(x0-x1)+(y0-y1)*(y0-y1));