This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main(void){ | |
int x,y; | |
bool b = false; | |
cin >> x; | |
y = 2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <stdio.h> | |
using namespace std; | |
int main(void){ | |
int x,y; | |
cin >> x; | |
y = 2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
using namespace std; | |
int main(void){ | |
int x,y; | |
cin >> x; | |
y = 2; | |
while (x > 1){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROGRAM baraba; | |
TYPE | |
niz = ARRAY[1..100] OF integer; | |
VAR | |
x: niz; | |
n: integer; | |
PROCEDURE unos(VAR x: niz; n: integer); | |
VAR | |
i: integer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 == ' '); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)); |
NewerOlder