|
|
вернуться в форумI'm using Floyd-Warshall algorithm, and my program correctcly passes different tests, but i have WA1. Why? Floyd-Warshall algorithm? But it's too slow. Use LCA. Maybe it is slow, but it works correctly :)Should be TLE, not WA1 :) Use std::cout. I had such problem when I used <fstream> |
|
|