Search found 47 matches

by Spykaj
Tue Jan 02, 2007 2:36 pm
Forum: Volume 3 (300-399)
Topic: 389 - Basically Speaking
Replies: 94
Views: 22800

Code: Select all

128 10 2
by Spykaj
Sun Dec 31, 2006 3:25 pm
Forum: Volume 111 (11100-11199)
Topic: 11151 - Longest Palindrome
Replies: 65
Views: 33144

I used Longest Common Subquecense for string A and reversed string A, is it correct ?
by Spykaj
Sun Dec 31, 2006 1:11 pm
Forum: Volume 111 (11100-11199)
Topic: 11148 - Moliu Fractions
Replies: 19
Views: 12387

Thanks sohel ! :) ACC
by Spykaj
Sat Dec 30, 2006 11:02 pm
Forum: Volume 101 (10100-10199)
Topic: 10183 - How Many Fibs?
Replies: 66
Views: 23831

Use something like lower_bound and upper_bound :) u must search it binary.
by Spykaj
Sat Dec 30, 2006 9:28 pm
Forum: Volume 111 (11100-11199)
Topic: 11152 - Colourful Flowers
Replies: 45
Views: 22043

I don't agree with little joey, my variables are:

Code: Select all

int a,b,c;
double p,P,C1,C2,r,R;
and I have ACC ;]
by Spykaj
Sat Dec 30, 2006 9:24 pm
Forum: Volume 111 (11100-11199)
Topic: 11148 - Moliu Fractions
Replies: 19
Views: 12387

My code:

Code: Select all

Cut after acc ;]
My answer is 1/4 :(
by Spykaj
Sat Dec 30, 2006 6:37 pm
Forum: Volume 111 (11100-11199)
Topic: 11148 - Moliu Fractions
Replies: 19
Views: 12387

11148 - Moliu Fractions

Do you have any very hard input ? :( My program get WA, though i think it's correct :/
by Spykaj
Fri Dec 29, 2006 2:31 pm
Forum: Volume 3 (300-399)
Topic: 343 - What Base Is This?
Replies: 72
Views: 21610

Plz give your code in the:

Code: Select all

 
because it's no good for reading :)
by Spykaj
Sun Dec 24, 2006 1:47 am
Forum: Volume 102 (10200-10299)
Topic: 10222 - Decode the Mad man
Replies: 30
Views: 9268

This code get accepted :P
by Spykaj
Sun Dec 24, 2006 1:34 am
Forum: Volume 5 (500-599)
Topic: 530 - Binomial Showdown
Replies: 137
Views: 33694

Code: Select all

110 6
My answer:

Code: Select all

2141851635
Your:

Code: Select all

2141851634
: )
by Spykaj
Fri Dec 15, 2006 9:30 pm
Forum: Volume 5 (500-599)
Topic: 583 - Prime Factors
Replies: 171
Views: 37299

Input:

Code: Select all

200000002
420010962
Output:

Code: Select all

200000002 = 2 x 17 x 5882353
420010962 = 2 x 3 x 7 x 10000261
Your output:

Code: Select all

200000002 = 2 x 17
420010962 = 2 x 3 x 7
by Spykaj
Thu Dec 14, 2006 12:19 am
Forum: Volume 7 (700-799)
Topic: 725 - Division
Replies: 49
Views: 20057

725 why PE ?

int main(){ int i,n,k,b; while(scanf("%d",&n)&&n){ b=0; for(i=((1000/n)*n+n)*n; i<100000; i+=n){ k=i/n; if(rozne(i,k)){ printf("%05d / %05d = %d\n",i,i/n,n); b=1; } } if(b==0)printf("There are no solutions for %d.\n",n); printf("\n"); } return 0; } Help plz :( PE :(
by Spykaj
Sun Nov 26, 2006 1:09 am
Forum: Volume 3 (300-399)
Topic: 336 - A Node Too Far
Replies: 121
Views: 40574

336 plz help WA

#include<cstdio> #include<cstring> #include<cmath> #include<algorithm> #include<iostream> #include<stack> #include<vector> #include<set> #include<queue> #include<list> using namespace std; int Z,x,y,i,j,f=1,odp,K[51],n; vector<int>V[51],pusty_vec; set<int>L,pusty_set; set<pair<int,int> > Y,pusty_se...
by Spykaj
Sun Oct 15, 2006 6:56 pm
Forum: Volume 5 (500-599)
Topic: 530 - Binomial Showdown
Replies: 137
Views: 33694

530 why compile error :(

Code: Select all

Cut... I have acc :]
by Spykaj
Sat Oct 07, 2006 3:21 pm
Forum: Volume 109 (10900-10999)
Topic: 10994 - Simple Addition
Replies: 41
Views: 15677

Thanks, good tests ;] i have acc.

Go to advanced search