hi programmers.
This code take compiler error i need someone to tell me where is the error?
program str (input,output);
uses strings;
type
arr=array of char;
var
x,y,r,z:arr;
s1,s2:string;
i,l1,l2,b,g,c,v,s:integer;
function bubble (r:arr;s:integer):arr;
var
i,j:integer;
t:char;
begin
for i ...
Search found 3 matches
- Wed Mar 22, 2006 9:10 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10252 - Common Permutation
- Replies: 150
- Views: 73357
- Thu Mar 16, 2006 11:13 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 317994
3n+1 problem
hi programmers.
i have two solutions for acm 3n+1 problem#100 one works and the other don't.
i have tested both of them they worked for me and give the same answer but acm accepted one an doesn't accept the other.
The Accepted Code:
program p100 (input, output);
var
i, j: integer ...
i have two solutions for acm 3n+1 problem#100 one works and the other don't.
i have tested both of them they worked for me and give the same answer but acm accepted one an doesn't accept the other.
The Accepted Code:
program p100 (input, output);
var
i, j: integer ...
- Thu Mar 16, 2006 11:12 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 317994
3n+1 problem
hi programmers.
i have two solutions for acm 3n+1 problem#100 one works and the other don't.
i have tested both of them they worked for me and give the same answer but acm accepted one an doesn't accept the other.
The Accepted Code:
program p100 (input, output);
var
i, j: integer ...
i have two solutions for acm 3n+1 problem#100 one works and the other don't.
i have tested both of them they worked for me and give the same answer but acm accepted one an doesn't accept the other.
The Accepted Code:
program p100 (input, output);
var
i, j: integer ...