Search found 37 matches

by algoJo
Thu Mar 15, 2007 2:50 pm
Forum: Volume 2 (200-299)
Topic: 275 - Expanding Fractions
Replies: 47
Views: 22830

can somebody tell me why I got WA in this problem? I've tried all the I/O set and it gave the same result? any hints? #include<stdio.h> #include<string.h> #define MAX 30001 char arr[MAX]; int start,end; int compute(void){ int i,j,k,len,I,flag=0; len=strlen(arr); for(i=0;i<len;i++) { for(j=i+1;j<len;...
by algoJo
Mon Mar 05, 2007 11:59 am
Forum: Volume 2 (200-299)
Topic: 271 - Simply Syntax
Replies: 46
Views: 13527

INPUT

Code: Select all

cpCpp
zpCpp
Cppzp
a
p
NpEpqNNNp
CDEIpqrstu
CDEINpqrst
CDENINpqrst
OUTPUT

Code: Select all

NO
YES
NO
NO
YES
YES
NO
YES
YES
are those right?
can anyone give me some critical I/O..
thanks...
by algoJo
Fri Mar 02, 2007 4:57 pm
Forum: Volume 3 (300-399)
Topic: 355 - The Bases Are Loaded
Replies: 74
Views: 24355

it seems to be Ok, but the judges said WA... can anyone give me some I/O set or some hints? #include<string.h> #include<stdio.h> #define MAX 200 char arr[MAX]; int I=MAX-1; long long int standar(char line[],long long int X){ int len,nom; long long int sum=0,temp,x,y; int i,k; len=strlen(line); nom=l...
by algoJo
Mon Feb 26, 2007 1:13 pm
Forum: Volume 3 (300-399)
Topic: 324 - Factorial Frequencies
Replies: 23
Views: 4740

WooW u're right, Thanks a lot arif_pasha... :D
by algoJo
Sun Feb 25, 2007 12:45 pm
Forum: Volume 3 (300-399)
Topic: 324 - Factorial Frequencies
Replies: 23
Views: 4740

it's works in my computer but the judges said CE :(
can anybody give me some hints??

Code: Select all

Cut, Thanks to arif_pasha 
}
by algoJo
Fri Feb 23, 2007 6:50 pm
Forum: Volume 100 (10000-10099)
Topic: 10098 - Generating Fast
Replies: 62
Views: 15437

I thought I'm right... but the judges said WA... can anybody post some critical i/o set?? thanks before.. and is this i/o set are correct? INPUT 3 ACba AcB bCA OUTPUT ACab ACba AaCb AabC CAab CAba CaAb CabA CbAa CbaA aACb aAbC aCAb aCbA abAC abCA bACa bAaC bCAa bCaA baAC baCA ABc AcB BAc BcA cAB cBA...
by algoJo
Tue Feb 20, 2007 3:30 pm
Forum: Volume 111 (11100-11199)
Topic: 11121 - Base -2
Replies: 23
Views: 15133

hi pvncad
try to change your data type from

Code: Select all

long long n
to

Code: Select all

long double n
and don't forget to remove your code after accepted... :D
by algoJo
Tue Feb 20, 2007 10:41 am
Forum: Volume 108 (10800-10899)
Topic: 10849 - Move the bishop
Replies: 44
Views: 17239

Thanks for replying mf.. :D
Got accepted :)
by algoJo
Sat Feb 17, 2007 5:57 pm
Forum: Volume 108 (10800-10899)
Topic: 10849 - Move the bishop
Replies: 44
Views: 17239

it's strange...
is the i/o in problem description are right??
how came

INPUT

Code: Select all

1

1
8
7 2 1 4
OUTPUT

Code: Select all

2
can't figure out how...
and what are the output for
INPUT

Code: Select all

1

1
6
2 3 2 3
by algoJo
Thu Feb 15, 2007 5:53 pm
Forum: Volume 4 (400-499)
Topic: 495 - Fibonacci Freeze
Replies: 222
Views: 36205

Thanks for replying helloneo..
but now it turns to Output Limit Exceed...
any suggestions...

Code: Select all


Removed
Thanks to helloneo :P 
Oopss... :o
by algoJo
Thu Feb 15, 2007 5:22 pm
Forum: Volume 4 (400-499)
Topic: 495 - Fibonacci Freeze
Replies: 222
Views: 36205

it still the same..., any other hints??
by algoJo
Thu Feb 15, 2007 4:59 pm
Forum: Volume 4 (400-499)
Topic: 495 - Fibonacci Freeze
Replies: 222
Views: 36205

why CE??

It works in my computer but the judges said Compile Error... :o
can somebody tell me why....

Code: Select all

Removed
Thanks to helloneo :P 
by algoJo
Tue Feb 13, 2007 8:20 am
Forum: Volume 101 (10100-10199)
Topic: 10101 - Bangla Numbers
Replies: 122
Views: 31346

TLE why???

Hi guys, I still confused what make my code get TLE
can somebody give me some hints...
thanks before....

Code: Select all

Accepted
by algoJo
Sat Feb 03, 2007 1:18 am
Forum: Volume 110 (11000-11099)
Topic: 11058 - Encoding
Replies: 28
Views: 16028

can anybody give me some hints, I've got WA all the times... :roll: I've checked my program with I/O sets in this board and it's OK. #include<stdio.h> #include<string.h> #define max 1000 char kata[max]; char enc1[max]; char arr[27]; void compute(void){ int i,len; len=strlen(kata); for(i=0;i<len;i++)...
by algoJo
Wed Jan 31, 2007 3:07 pm
Forum: Volume 2 (200-299)
Topic: 260 - Il Gioco dell'X
Replies: 19
Views: 5755

Hi all I've got accepted in this problem but there is something that make me confius... first I got TLE because: char line[201],arr[200][201]; int I,i; while(1) { gets(line); sscanf(line,"%d",&I); if(!I) break; for(i=0;i<I;i++) gets(arr[i]); } and got accepted by changing: char temp,ar...

Go to advanced search