Nie działa

This commit is contained in:
2023-02-23 13:24:57 +01:00
parent 4cbfef5bc2
commit 1313fdeb9d
2 changed files with 10 additions and 5 deletions

View File

@@ -0,0 +1,2 @@
using namespace std;
typedef std::map<std::string, std::map<std::string, double>> mapa;

View File

@@ -62,11 +62,14 @@ void czyscStringa( string &str, char* znakiDoCzyszczenia ) {
}
void dijkstruj(mapa doDijkstrnięcia){
for(auto miasto : doDijkstrnięcia)
{
// doDijkstrnięcia.rbegin()
}
void dijkstruj(mapa doPrzetworzenia){
double punktStartowy = doPrzetworzenia[0][0];
for (auto i = doPrzetworzenia.begin(); i != doPrzetworzenia.end(); i++) {
for (auto ii = i->second.begin(); ii != i->second.end(); ii++) {
std::cout<< i->first << ii->first << ii->second << std::endl;
}
}
}
void dumpOutput(string outputFile, string preparedString)