## Search found 44 matches

Sat Jul 24, 2004 6:48 am
Forum: Volume 104 (10400-10499)
Topic: 10479 - The Hendrie Sequence
Replies: 14
Views: 5552
Your code is seems to right for long input but some of
long long input(In VC __int64) it may be wrong i think.
As:
Input:9223372036854775808
Output:63
But your result is:0
So try with it in VC by using __int64.
Hope it will be help.
Sun Jul 18, 2004 11:59 am
Forum: Volume 105 (10500-10599)
Topic: 10534 - Wavio Sequence
Replies: 44
Views: 8088
Do u think it is correct? for (i = 1; i <= n; i ++) { if (left[i] == right[n+1-i] && left[i] > mx) mx = left[i]; } I think no. It should be like mx=0; for(i=1;i<=n;i++) { if((left[i]<=right[i]) && (left[i]>mx))mx=left[i]; if((left[i]>=right[i]) && (right[i]>mx))mx=right[i]; } Why it should ,i think ...
Sun Jul 18, 2004 11:57 am
Forum: Volume 105 (10500-10599)
Topic: 10534 - Wavio Sequence
Replies: 44
Views: 8088
So try now..
Thu Jan 01, 2004 7:39 am
Forum: Volume 103 (10300-10399)
Topic: 10331 - The Flyover Construction
Replies: 19
Views: 5189
Hello all greathelper,
I also got WA in this problem.
I solve it by shortest path (again and again.)
Please give me such critical I/O to test my code.

Sat Dec 27, 2003 3:13 pm
Forum: Volume 105 (10500-10599)
Topic: 10594 - Data Flow
Replies: 40
Views: 26236
Yah,
i was wrong.I can realize my misunderstanding.
Now i got it AC.
Actually it is a great problem
Thanks for help.
Sat Dec 27, 2003 8:04 am
Forum: Volume 105 (10500-10599)
Topic: 10594 - Data Flow
Replies: 40
Views: 26236

### 10594 - Data Flow

I verify again and again but may be sample I/O for one is wrong:
input:
4 4
1 3 3
3 4 4
1 2 2
2 4 5
20 100
output:
140
I think it should be
input:
4 4
1 3 3
3 4 4
1 2 2
2 4 5
20 10
output:
140
Am i correct or incorrect?
Any one please check it:
Thu Dec 11, 2003 10:41 am
Forum: Volume 101 (10100-10199)
Topic: 10134 - AutoFish
Replies: 2
Views: 2224

### 10134 - AutoFish

Hello all helper,
From problem description i am not
clear about fish findind.
Please describe it's actual matter.
-------------------------------------------
Tue Dec 09, 2003 7:38 am
Forum: Volume 101 (10100-10199)
Topic: 10109 - Solving Systems of Linear Equations
Replies: 18
Views: 8937

### 10109 - Solving Systems of Linear Equations

Hello all helper,
I solved 10109 by LUP decomposition algorithm.But i cannot realize by this algorithm when it is no solution.
Am i correct to solve this problem by this algorithm?
Else can anyone suggest another correct algorithm please..?
Thu Nov 06, 2003 10:45 am
Forum: Volume 101 (10100-10199)
Topic: 10199 - Tourist Guide
Replies: 57
Views: 31692
Yah, I repair for disconnected graph.But still WA
Please give me some test data(I/O).
I always getting big big WA......
Wed Nov 05, 2003 12:31 pm
Forum: Volume 101 (10100-10199)
Topic: 10199 - Tourist Guide
Replies: 57
Views: 31692

### WA

I solve 10199 but still WA though all of I/O post in this page are ok. here is my code without articulation point. [cpp] long search(char key[]) { long i; for(i=0;i<N;i++) if(!strcmp(key,s1 ))return i; return -1; } int main(void) { long i,m,x,y,p,kase=0; freopen("10199.in","r",stdin); while(scanf("%...
Wed Oct 29, 2003 8:39 am
Forum: Off topic (General chit-chat)
Topic: Participating in the ICPC regionals?
Replies: 22
Views: 7822

### IIUC POINTER

Our team "IIUC POINTER" from International Islamic University Chittagong(Chittagong,Bangladesh) is going to participating in ACM ICPC Dhaka site at 12-13 November.Our team members are Erfan,Harun and Mizan with our coach Mr. Md. Shamsul Alam. We are hoping best for us. Request to all, please pray fo...
Wed Oct 22, 2003 6:31 am
Forum: Off topic (General chit-chat)
Topic: Should cutted source code
Replies: 13
Views: 4378

### Should cutted source code

Electronics board is used for helping in several types of Algorithm.But here we found some source code.After AC those source code should be cutted.I think it will more helpful for all.
Sun Oct 19, 2003 12:29 pm
Forum: Volume 2 (200-299)
Topic: 201 - Squares
Replies: 32
Views: 4640
What types of I/O you need it is not clear.You can pm your code then I will try...
Sat Sep 06, 2003 1:23 pm
Forum: Volume 6 (600-699)
Topic: 677 - All Walks of length "n" from the first node
Replies: 17
Views: 8247

### 677:What is input terminate condition?

What is the terminate condition of it i cannot realize.
I terminate input just :

Code: Select all

``````if(flag) scanf("%ld",&d);
if(scanf("%ld%ld",&n,&d)!=2) break;
``````
If it is right may my algorithm is wrong.Pls provide some critical input/output to judge my code.
Pls anybody help me.
Mon Jul 14, 2003 3:42 pm
Forum: Volume 105 (10500-10599)
Topic: 10512 - A Day in Math-land
Replies: 52
Views: 13270
You don't need critical judge data cause you can create it. by using random function in following equation: (x+y)*y=p; (labs(x-y))*x=q; You can create two file in where one is for x y and another is for p q Now make second file is your problem's(10512) input and first file is judge output.Find diffe...