Skip to content

Commit

Permalink
added right directives
Browse files Browse the repository at this point in the history
  • Loading branch information
Adnan Aziz authored and Adnan Aziz committed Feb 17, 2016
1 parent eb2ef25 commit 2665088
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tmp/Dutch_national_flag.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ using std::uniform_int_distribution;
using std::vector;

// @include
// @judge-include
// @judge-include-display
typedef enum { RED, WHITE, BLUE } Color;

void DutchFlagPartition(int pivot_index, vector<Color>* A_ptr) {
// @judge-exclude
// @judge-exclude-display
vector<Color>& A = *A_ptr;
Color pivot = A[pivot_index];
/**
Expand All @@ -41,9 +41,9 @@ void DutchFlagPartition(int pivot_index, vector<Color>* A_ptr) {
swap(A[equal], A[--larger]);
}
}
// @judge-include
// @judge-include-display
}
// @judge-exclude
// @judge-exclude-display
// @exclude

vector<Color> RandVector(int len) {
Expand Down

0 comments on commit 2665088

Please sign in to comment.