Search:

Type: Posts; User: johnsonswww

Search: Search took 0.01 seconds.

  1. help (read strings from file -> save each string's char in array)

    can anyone suggest me a way of doing this?

    lets say we have a file input.in
    in the file we have two words each has from 1 to 10 chars

    for example

    input.in

    quote
  2. hm Lets suppose we know that when we go from...

    hm

    Lets suppose we know that when we go from 0(0,0) to M(A,B) we go from smallest X to bigger ones, but when we return from M to 0 we go from biggest X to smaller ones? Could we then solve it...
  3. @ MK27 thats why im not looking the brute force...

    @ MK27 thats why im not looking the brute force method, it will take ages if the nodes would be for example 10000 or something

    im looking the other way,dynamic programming.
  4. i dont want to find the shortest distance between...

    i dont want to find the shortest distance between A,B but the shortest distance between 0(0,0) and M(A,B) which have some other nodes between them.

    So what i want to do is find the shortest...
  5. can anyone solve this for me? (look inside)

    Ok i ve read so much stuff about shortest path algorithms but i cant solve this problem.

    Lets say we have a node 0(0,0) and another node M(A,B)

    We also have other nodes between them all are...
Results 1 to 5 of 5