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
for i:=1 to 15 do | |
begin | |
if data[i, 7] <> '*' then | |
begin | |
count:= 1; | |
for j:=i+1 to 15 do | |
begin | |
equals:= true; | |
for h:=8 to 20 do | |
if data[i,h] <> data[j,h] then |
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 var_2; | |
type | |
row = array[1..15] of string; | |
var | |
data: row; | |
i, j: byte; | |
firstString: string; | |
secondString: string; | |
count: 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 prog; | |
type | |
job_entry = record | |
job: string; | |
count: integer; | |
end; | |
table = array[1..15] of job_entry; | |
var | |
jobs: table; |
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
{Модуль} | |
unit myUnit; | |
interface | |
type | |
job_entry = record | |
job: string; | |
count: integer; | |
end; | |
table = array[1..16] of job_entry; |
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
package recfun | |
import common._ | |
object Main { | |
def main(args: Array[String]) { | |
println("Pascal's Triangle") | |
for (row <- 0 to 10) { | |
for (col <- 0 to row) | |
print(pascal(col, row) + " ") | |
println() |
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
{модуль} | |
unit LinkedList; | |
interface | |
type | |
pt =^ elem; | |
elem = record | |
job: string; | |
count: integer; | |
next: pt; | |
end; |
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
{модуль} | |
unit LinkedList; | |
interface | |
type | |
pt =^ elem; | |
elem = record | |
line: string; | |
index: integer; | |
prev: pt; |
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
unit LinkedList; | |
interface | |
type | |
pt =^ elem; | |
elem = record | |
entry: string; | |
count: integer; | |
next: pt; | |
end; | |
llist = pt; |
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
unit LinkedList; | |
interface | |
type | |
node =^ elem; | |
elem = record | |
entry : string; | |
count : integer; | |
next : node; | |
end; | |
llist = node; |
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
_DATA SEGMENT | |
TriTable \ | |
BYTE 64 | |
BYTE 45,63 | |
BYTE 75,09,91 | |
...et cetera | |
_DATA ENDS | |
mov ebx, 0FFFFFFh ; path ;) | |
xor ebp, ebp ; max total | |
next: mov ecx, ebx |
OlderNewer