This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
#include<vector> | |
#include<cstdio> | |
#include<string> | |
#include<algorithm> | |
#include<numeric> | |
#include<map> | |
#include<math.h> | |
using namespace::std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
#include<vector> | |
#include<cstdio> | |
#include<string> | |
#include<algorithm> | |
#include<numeric> | |
#include<map> | |
#include<math.h> | |
#include<stdlib.h> | |
#include<string.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
#include<vector> | |
#include<cstdio> | |
#include<string> | |
#include<algorithm> | |
#include<numeric> | |
#include<map> | |
#include<math.h> | |
#include<stdlib.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
#include<vector> | |
#include<cstdio> | |
#include<string> | |
#include<algorithm> | |
#include<numeric> | |
#include<map> | |
#include<math.h> | |
#include<stdlib.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
#include<vector> | |
#include<cstdio> | |
#include<string> | |
#include<algorithm> | |
#include<numeric> | |
#include<map> | |
#include<math.h> | |
#include<stdlib.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
#include<vector> | |
#include<cstdio> | |
#include<string> | |
#include<algorithm> | |
#include<numeric> | |
#include<map> | |
#include<math.h> | |
#include<stdlib.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CandidatesSelectionEasy { | |
public: | |
vector <int> sort(vector <string> score, int x) | |
{ | |
vector< pair<string,int> > SortedScores(score.size()); | |
for(int i = 0; i < score.size(); i++) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TwoWaysSorting { | |
public: | |
string sortingMethod(vector <string> stringList) | |
{ | |
bool LexFlg = true; | |
bool LenFlg = true; | |
vector <string> SortedLexStList(stringList.size()); | |
for(int i = 0; i < stringList.size(); i++) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
#include<vector> | |
#include<cstdio> | |
#include<string> | |
#include<algorithm> | |
#include<numeric> | |
#include<map> | |
#include<math.h> | |
using namespace::std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
#include<vector> | |
#include<cstdio> | |
#include<string> | |
#include<algorithm> | |
#include<numeric> | |
#include<map> | |
#include<math.h> | |
using namespace::std; |
NewerOlder