CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: codedhrj

Search: Search took 0.03 seconds.

  1. Thread: Edit distance

    by codedhrj
    Replies
    3
    Views
    4,345

    Re: Edit distance

    got AC :)
    Still if anyone is trying to debug.. then it should be LEFT<=TOP instead of LEFT<TOP
  2. Thread: Edit distance

    by codedhrj
    Replies
    3
    Views
    4,345

    Re: Edit distance

    #include<stdio.h>
    #include<string.h>
    int main()
    {
    char a[3001],b[3001];
    int t,D[2][2005],A,B,LEFT,TOP,CORNER,temp,CURR,PREV;
    scanf("%d",&t);
    getchar();
    while(t--)
    {
  3. Thread: Edit distance

    by codedhrj
    Replies
    3
    Views
    4,345

    Edit distance

    I tested my code for all the test cases and got correct answer but while submitting it on SPOJ, i am getting wrong answer. Can anyone help me in figuring out what's wrong with the code?

    Here is...
  4. Replies
    6
    Views
    11,136

    Re: Building bridges

    got AC :)

    Anyone having error in the above program, can check out this working code.
    #include<stdio.h>
    #include<iostream>
    #include<algorithm>
    using namespace std;
    struct dj{
    int x;
    ...
  5. Replies
    6
    Views
    11,136

    Re: Building bridges

    Originally we have 10 points.

    1 2 3 4 5 6 7 8 9 10
    <---- Cities on the first bank of river---->
    --------------------------------------------
    <---------------...
  6. Replies
    6
    Views
    11,136

    Building bridges

    **Problem:**
    There is a river that runs horizontally through an area. There are a set of cities above and below the river. Each city above the river is matched with a city below the river, and you...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured