Search found 5 matches

by fixit
Sun Jun 11, 2006 12:07 am
Forum: Volume 8 (800-899)
Topic: 893 - Y3K Problem
Replies: 11
Views: 11076

I have the same outputs in my program, but W/A :(
I don't know where is the problem :(
Maybe someone give I/O ?
by fixit
Sat Jun 10, 2006 10:27 am
Forum: C++
Topic: I have problem with code ...
Replies: 1
Views: 1623

I have problem with code ...

#include <stdio.h>

typedef struct{int sum,start,stop;}maxi;
int main()
{
int liczba=0,suma=0;
maxi now,old;
int n=0,ile=0,j=0,i=0;
scanf("%d",&ile);
for (j=1;j<=ile;j++)
{
old.sum=old.start=old.stop=suma=now.sum=now.start=now.stop=0;
scanf("%d",&n);
for (i=1;i<n;i++)
{
scanf("%d",&liczba ...
by fixit
Thu Jun 08, 2006 12:25 am
Forum: C++
Topic: constans array of string?
Replies: 1
Views: 1805

constans array of string?

How to make a array of string whith is constans ?
How to make it with #DEFINE ?
by fixit
Wed Jun 07, 2006 9:47 am
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 43741

10018 - WA no way :(

{function str2int(s:string):longint;
var liczba:longint;lol:integer;
begin
val(s,liczba,lol);
str2int:=liczba;
end;}
function int2str(l:int64):string;
var tmp:string;
begin
str(l,tmp);
int2str:=tmp;
end;
function reverse(a:int64):int64;
var j:int64;
begin

j:=0;
while a<>0 do
begin
j:=j*10+(a ...
by fixit
Tue Jun 06, 2006 8:36 pm
Forum: Volume 4 (400-499)
Topic: 494 - Kindergarten Counting Game
Replies: 119
Views: 37236

494 - WA ?

var a:array [0..100] of char;count,i:integer;
function ileslow(s:string):integer;
var k:integer;var slowo_start:boolean;counter:longint;
begin
slowo_start:=false;
counter:=0;
for k:=1 to length(s) do
if (s[k] in ['a'..'z']) or (s[k] in ['A'..'Z']) then
begin
if not slowo_start then
begin
inc ...

Go to advanced search