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 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 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
#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
#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; | |
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 <stdlib.h> | |
#include <stdio.h> | |
using namespace std; | |
int main(void){ | |
unsigned long long int testN; | |
int x, y; | |
bool b = false; |
OlderNewer