Nie działa
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
using namespace std;
|
||||
typedef std::map<std::string, std::map<std::string, double>> mapa;
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user