No it doesn't. Explain me the Floyd-Warshall algorithm
I don't know anything about O(n^3) or O(n^2) etc...
Search found 12 matches
- Thu Jun 16, 2005 2:41 pm
- Forum: Volume 1 (100-199)
- Topic: 104 - Arbitrage
- Replies: 223
- Views: 37313
- Tue Jun 14, 2005 2:00 pm
- Forum: Volume 1 (100-199)
- Topic: 116 - Unidirectional TSP
- Replies: 226
- Views: 65327
- Tue Jun 14, 2005 12:00 pm
- Forum: Volume 1 (100-199)
- Topic: 104 - Arbitrage
- Replies: 223
- Views: 37313
104
Hy.
Please explain me, how does Floyd-Warshall algorithm work and how can I use it to solve the Arbitrage problem.
Please explain me, how does Floyd-Warshall algorithm work and how can I use it to solve the Arbitrage problem.
- Mon Jun 13, 2005 9:22 pm
- Forum: C++
- Topic: Which is the best c++ IDE program?
- Replies: 3
- Views: 2585
- Mon Jun 13, 2005 7:19 pm
- Forum: Volume 1 (100-199)
- Topic: 104 - Arbitrage
- Replies: 223
- Views: 37313
- Mon Jun 13, 2005 12:59 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108900
- Sat Jun 11, 2005 2:55 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108900
- Sat Jun 11, 2005 10:57 am
- Forum: Volume 1 (100-199)
- Topic: 103 - Stacking Boxes
- Replies: 200
- Views: 50420
Accpeted
Ok, here's the deal.
I rewrote my code and It got Accepted.
"Your C++ program has solved Ok the problem 103 (Stacking Boxes)
in 0.436 seconds using as much as 392 kbytes of virtual memory.
Congratulations!"
My code:
I rewrote my code and It got Accepted.
"Your C++ program has solved Ok the problem 103 (Stacking Boxes)
in 0.436 seconds using as much as 392 kbytes of virtual memory.
Congratulations!"
My code:
Code: Select all
/*******************************
*
- Sat Jun 11, 2005 10:40 am
- Forum: Volume 1 (100-199)
- Topic: 103 - Stacking Boxes
- Replies: 200
- Views: 50420
- Sat Jun 11, 2005 10:31 am
- Forum: Volume 1 (100-199)
- Topic: 103 - Stacking Boxes
- Replies: 200
- Views: 50420
- Sat Jun 11, 2005 8:57 am
- Forum: Volume 1 (100-199)
- Topic: 103 - Stacking Boxes
- Replies: 200
- Views: 50420
Input error
Hy.
I just can't understand what's wrong.
I was writing a solution for problem 103.
I compiled the program and it seems to read the input wrongly.
I just can't understand what's wrong.
I was writing a solution for problem 103.
I compiled the program and it seems to read the input wrongly.
Code: Select all
/*******************************
*
- Fri Jun 10, 2005 2:55 pm
- Forum: Volume 1 (100-199)
- Topic: 103 - Stacking Boxes
- Replies: 200
- Views: 50420