E D R , A S I H C RSS

Full text search for "sort"

sort


Search BackLinks only
Display context of search results
Case-sensitive searching
  • 데블스캠프2009/목요일/연습문제/다빈치코드/박준호 . . . . 33 matches
         hand handsort[13];
         void CmpColor(hand handsort[], int i);
          DrawCard(handsort,index);
          printf("%c%d ",handsort[index].color1, handsort[index].number);
         void DrawCard(hand handsort[], int index)
          handsort[index].number = w_block[num];
          handsort[index].color1 = 'w';
          handsort[index].number = b_block[num];
          handsort[index].color1 = 'b';
         void CmpColor(hand handsort[],int i)
          if(handsort[i].color1 == 'w')
          a = handsort[i].color1;
          handsort[i].color1 = handsort[i+1].color1;
          handsort[i+1].color1 = a;
          b = handsort[i].number;
          handsort[i].number = handsort[i+1].number;
          handsort[i+1].number = b;
          if(handsort[i].number >= handsort[(i+1)].number)
          if(handsort[i].number == handsort[i+1].number)
          CmpColor(handsort, i);
  • TermProject/재니 . . . . 32 matches
         void menu1(), menu2(), menu3(), menu4(), sub_menu(), avr(), sort(int, int),
         char sort_name[students + 1][7];
         int sort_stats[students + 1][4];
          sort_name[i][j] = name[i][j];
          sort_stats[i][j] = stats[i][j];
          if (sort_stats[i][select] > sort_stats[j][select]) // 선택된 과목에 따라
          sort(i, j); // 정렬 함수를 호출함
          sort(i, j); // 루프에 따라 정렬하기 위해 i, j 변수를 전달함
          cout << sort_name[i] << "t" << " " << sort_stats[i][0] // 이름과 학번 출력
          << "t " << sort_stats[i][select] << endl; // 성적 출력
         void sort(int i, int j) // 사용자의 선택에 따라 i, j 변수를 전달받아 정렬함
          sort_name[students][k] = sort_name[j][k];
          sort_name[j][k] = sort_name[i][k];
          sort_name[i][k] = sort_name[students][k];
          sort_stats[students][k] = sort_stats[j][k];
          sort_stats[j][k] = sort_stats[i][k];
          sort_stats[i][k] = sort_stats[students][k];
          avr_ind[i] = (sort_stats[i][1] + sort_stats[i][2] + sort_stats[i][3]) / 3.0;
          sort(i, j); // 데이터의 정렬을 실행하고
          cout << sort_name[i] << "t "; // 이름을 출력함
  • ClassifyByAnagram/김재우 . . . . 19 matches
          def testSortChar( self ):
          self.assertEquals ( 'abc', a.sortChar( 'abc' ) )
          self.assertEquals ( 'abc', a.sortChar( 'cba' ) )
          def sortChar( self, word ):
          lst.sort()
          self.dictionary.setdefault( self.sortChar( word ) ,[]).append( word )
          public void TestSortWord()
          Assertion.AssertEquals( "abc", anagram.SortWord( "cba" ) );
          Assertion.AssertEquals( "ab", anagram.SortWord( "ba" ) );
          Assertion.AssertEquals( "aa", anagram.SortWord( "aa" ) );
          public String SortWord( String word )
          //SortedList list = new SortedList();
          list.Sort();
          String sortedWord = SortWord( word );
          ArrayList list = (ArrayList) m_dictionary[ sortedWord ];
          m_log.Write( "-" + word + " add " + sortedWord );
          m_dictionary.Add( sortedWord, list );
          m_log.Write( "-" + word + " append " + sortedWord );
          public void testSortWord() {
          assertEquals( "ab", anagram.sortWord( "ba" ) );
  • ClassifyByAnagram/sun . . . . 18 matches
          * genKey() 메소드의 성능 개선. qsort2([http://www.cs.bell-labs.com/cm/cs/pearls/sortanim.html ProgrammingPerals 참고]) 이용.
          qsort2( 0, seq.length-1 );
          private void qsort2( int l, int u )
          qsort2( l, j-1 );
          qsort2( j+1, u );
          qsort2( 0, seq.length-1 );
          private void qsort2( int l, int u )
          qsort2( l, j-1 );
          qsort2( j+1, u );
          qsort2( 0, seq.length-1 );
          private void qsort2( int l, int u )
          qsort2( l, j-1 );
          qsort2( j+1, u );
          qsort2( key, 0, key.capacity()-1 );
          private void qsort2( ByteBuffer buf, int l, int u )
          qsort2( buf, l, j-1 );
          qsort2( buf, j+1, u );
  • 데블스캠프2005/RUR-PLE . . . . 17 matches
         || [데블스캠프2005/RUR-PLE/Sorting] ||
          * sorting 문제 120분
          * sorting 문제를 풀고나서 시간 남은 분은 해보시길. [http://rur-ple.sourceforge.net/en/amazing1.htm 러플 Amazing 설명]
         == Sorting ==
          * sort0_1.wld 파일을 연다.
         http://rur-ple.sourceforge.net/images/sort1_start.png
         http://rur-ple.sourceforge.net/images/sort1_end.png
          * 다음은 sort0_2.wld 파일을 연다.
         http://rur-ple.sourceforge.net/images/sort2.png
         http://rur-ple.sourceforge.net/images/sort2.png
          * sort1 파일을 연다.
         http://rur-ple.sourceforge.net/images/sort3_start.png
         http://rur-ple.sourceforge.net/images/sort3_end.png
          * sort2 는 추후 공개
          * sort1, sort2 맵을 가장 먼저 모두 오름차순으로 정렬하는 분에게 [데블스캠프/2005/RUR-PLE/경품]을 드립니다.
          * 05 [조현태] 군이 가장 먼저 sorting을 해결하여 경품을 탔습니다. 이후 01 김정현 이 sort2 맵에 대해서 해결하였지만 sort1에 대해서는 부분적으로 해결하였습니다.
  • 코드레이스/2007/RUR_PLE . . . . 16 matches
          * sorting 문제를 풀고나서 시간 남은 분은 해보시길. [http://rur-ple.sourceforge.net/en/amazing1.htm 러플 Amazing 설명]
         == Sorting ==
          * sort0_1.wld 파일을 연다.
         http://rur-ple.sourceforge.net/images/sort1_start.png
         http://rur-ple.sourceforge.net/images/sort1_end.png
          * 다음은 sort0_2.wld 파일을 연다.
         http://rur-ple.sourceforge.net/images/sort2.png
         http://rur-ple.sourceforge.net/images/sort2.png
          * sort1 파일을 연다.
         http://rur-ple.sourceforge.net/images/sort3_start.png
         http://rur-ple.sourceforge.net/images/sort3_end.png
          * sort2 는 추후 공개
          * sort1, sort2 맵을 가장 먼저 모두 오름차순으로 정렬하는 분에게 [데블스캠프/2005/RUR-PLE/경품]을 드립니다.
          * 05 [조현태] 군이 가장 먼저 sorting을 해결하여 경품을 탔습니다. 이후 01 김정현 이 sort2 맵에 대해서 해결하였지만 sort1에 대해서는 부분적으로 해결하였습니다.
  • 2002년도ACM문제샘플풀이/문제E . . . . 15 matches
          sort(&temp.weight[0],&temp.weight[inputData[i].n]);
         int getMin(vector<int>& weights, vector<int>& sortedWeights);
         bool isSamePos(vector<int>& weights, vector<int>& sortedWeights, int nth);
          vector<int> sortedWeights(weights);
          sort(sortedWeights.begin(), sortedWeights.end());
          if(!isSamePos(weights, sortedWeights, i))
          ret += sortedWeights[i];
          ret += getMin(weights, sortedWeights);
         int getMin(vector<int>& weights, vector<int>& sortedWeights)
          if(!isSamePos(weights, sortedWeights, i))
          return sortedWeights[i];
         bool isSamePos(vector<int>& weights, vector<int>& sortedWeights, int nth)
          return sortedWeights[nth] == weights[nth];
  • StacksOfFlapjacks/문보창 . . . . 14 matches
         int input_stack(int * s, int * sort_s);
         void sort_stack(int * s, int size);
         void flip_cake(int * s, int * sort_s, int size);
          int sortStack[MAX_SIZE];
          sizeStack = input_stack(stack, sortStack);
          sort_stack(sortStack, sizeStack);
          flip_cake(stack, sortStack, sizeStack);
         void flip_cake(int * s, int * sort_s, int size)
          if (s[i] != sort_s[i])
          if (s[j] == sort_s[i])
         void sort_stack(int * s, int size)
         int input_stack(int * s, int * sort_s)
          sort_s[i] = s[i];
  • ClassifyByAnagram/Passion . . . . 13 matches
          itemKey = sortString(item);
          public static String sortString(String input) {
          * @param sortedItem
          assertEquals("abc", Parser.sortString(input));
          assertEquals("abccc", Parser.sortString(input2));
          assertEquals("dsx", Parser.sortString(input3));
          String sortedItem = Parser.sortString(input);
          assertEquals(1, parser.getContainsCount(sortedItem));
          assertEquals(4, parser.getContainsCount(Parser.sortString("abc")));
          assertEquals(2, parser.getContainsCount(Parser.sortString("aabb")));
          assertEquals(2, parser.getContainsCount(Parser.sortString("cdd")));
          assertEquals(1, parser.getContainsCount(Parser.sortString("xds")));
  • OurMajorLangIsCAndCPlusPlus/print/김상섭 . . . . 12 matches
         void print_d(int temp, int sort)
          if(strlen(buffer) < sort)
          for(int i = 0; i < sort - strlen(buffer); i++)
         void print_s(const char * temp, int sort)
          if(strlen(temp) < sort)
          for(int i = 0; i < sort - strlen(temp); i++)
         void print_f(double temp, int sort)
          int sort = 0;
          sort = *list - 48;
          print_d(va_arg(args, int), sort);
          print_s(va_arg(args, const char *), sort);
          print_f(va_arg(args, double), sort);
  • 정렬/Leonardong . . . . 11 matches
          ifstream fin("unsortedData.txt"); //파일 이름이...삽질 1탄~!
          ofstream fout("sorted.txt");
          int sorted[Asize];
          fin >> sorted[i];
          if (sorted[k] < sorted[j])
          temp = sorted[k];
          sorted[k] = sorted[j];
          sorted[j] = temp;
          fout << sorted[i-1] << endl;
  • ACM_ICPC/2013년스터디 . . . . 10 matches
          * 퀵 정렬,이진검색,parametric search - [http://211.228.163.31/30stair/guessing_game/guessing_game.php?pname=guessing_game&stair=10 숫자 추측하기], [http://211.228.163.31/30stair/sort/sort.php?pname=sort&stair=10 세 값의 정렬], [http://211.228.163.31/30stair/subsequence/subsequence.php?pname=subsequence&stair=10 부분 구간], [http://211.228.163.31/30stair/drying/drying.php?pname=drying&stair=10 건조], [http://211.228.163.31/30stair/aggressive/aggressive.php?pname=aggressive&stair=10 공격적인 소]
          * [sort/권영기]
          * 17 위상정렬 - [http://211.228.163.31/30stair/topo_sort/topo_sort.php?pname=topo_sort topo_sort]
          * Topological sort -
          * [http://homepages.ius.edu/rwisman/C455/html/notes/Chapter22/TopSort.htm]
          * [http://en.wikipedia.org/wiki/Topological_sorting]
  • AcceleratedC++/Chapter4 . . . . 10 matches
          sort(vec.begin(), vec.end());
          * 또한, 아까 함수 호출하면서 parameter로 넘겨줄때에는 그 값을 복사를 한다고 했다. 저렇게 함수를 호출함으로써, 원래 vector를 손상시키지 않고, 복사본 vector에서 sort를 해서 작업을 처리해 줄수가 있다. 비록 시간이 좀 더 걸리긴 하지만..
          sort(vec.begin(),vec.end());
          * 마지막으로 sort. 우리는 다음과 같이 했었다.
         sort(vec.begin(), vec.end());
          * 저 vec은 double형 값을 담고 있었기 떄문에, 순서대로 sort하면 되었었다. 하지만 우리가 만든 Student_info는 어떻게 sort를 할까?
         sort(students.begin(), students.end()); // 과연? #!$%#@^#@$#
          * 무엇을 기준으로 sort를 할것인가? 이름? midterm? final? 알수가 없다. 따라서 우리는 predicate라는 것을 정의해 주어야 한다. 다음과 같이 해주면 된다.
         sort(students.begin(), students.end(), compare);
  • TheGrandDinner/김상섭 . . . . 10 matches
          sort(test_table.begin(),test_table.end(), compare_table);
          sort(test_team.begin(), test_team.end(), compare_team_max);
          sort(test_table.begin(),test_table.end(), compare_table);
          sort(test_team.begin(), test_team.end(), compare_team_num);
          sort(test_team[i].tableNum.begin(),test_team[i].tableNum.end());
          sort(test_table.begin(),test_table.end(), compare_table);
          sort(test_team.begin(), test_team.end(), compare_team_max);
          sort(test_table.begin(),test_table.end(), compare_table);
          sort(test_team.begin(), test_team.end(), compare_team_num);
          sort(test_team[i].tableNum.begin(),test_team[i].tableNum.end());
  • 정렬/변준원 . . . . 10 matches
          ifstream fin("UnsortedData.txt");
          int sorted[10000];
          int i,j,k,sort;
          sort = sorted[j];
          sorted[j] = sorted[k];
          sorted[k] = sort;
          fout << sorted[i] << endl;
  • 정렬/조재화 . . . . 10 matches
          ifstream fin("UnsortedData.txt"); //txt파일에 저장된 것을 부름
          int sort[Arsize];
          fin >> sort[i];//배열로 선언
          if(sort[k] > sort[j])//크기비교
          temp=sort[k];
          sort[k]=sort[j];
          sort[j]=temp;
          fout << sort[d] << endl;
  • 큰수찾아저장하기/김영록 . . . . 9 matches
         int width_sort(int a);
         int height_sort(int a);
         int all_sort();
         space[i][3] = width_sort(i);
         space[3][i] = height_sort(i);
         space[3][3] = all_sort();
         int width_sort(int a){
         int height_sort(int a){
         int all_sort(){
  • AcceleratedC++/Chapter3 . . . . 8 matches
          * 하지만.. 중간값은 그렇지가 못하다. 다 저장해놔야 한다. 그리고 sort를 해야할 것이다.
          * 중간값을 찾기 위해 먼저 해야할 작업 sort : algorithm 헤더에 정의되어 있다.
          // sort the grades
          sort(homework.begin(),homework.end());
          // sort the grades
          sort(homework.begin(),homework.end());
          * vector와 sort의 수행성능에 관해
          * sort 작업은 Θ(nlog(n))의 시간이 걸린다.
  • STL/sort . . . . 8 matches
         = sort =
          * 우리는 프로그램 첨 배울때 sort 짜는걸 많이 한다. 수행시간이 θ(n*n)이나 되는 소트를 짜곤 했다.
          * STL에서는 Quick Sort를 약간 변형한 Sort 알고리즘을 제공한다.
         #include <algorithm> // sort 알고리즘 쓰기 위한것
          sort(v.begin(), v.end(), less<int>()); // 오름차순
          sort(v.begin(), v.end(), greater<int>()); // 내림차순
          // 간단하게 오름차순 쓸거면 <functional> 없애고 sort(v.begin(), v.end()) 하면 된다.
          * 한가지 주의할점. 이 sort알고리즘은 컨테이너가 임의 접근(Random Access)을 허용한다는 가정하에 만든것이다. vector나 deque처럼 임의 접근을 허용하는 컨테이너는 이걸 쓸수 있지만. list는 임의 접근이 불가능해서 사용할수 없다. -l[5] 이런 접근이 안된다는 의미 - 따라서 list에서는 컨테이너 내부에서 sort메소드를 제공해 준다.
  • 데블스캠프2005/RUR-PLE/Sorting . . . . 8 matches
         = 데블스캠프2005/RUR-PLE/Sorting =
          if not next_to_a_beeper(): # it's sorted
          while not next_to_a_beeper(): # go to unsorted section
          #return to the larger column which must be sorted
          else: # one column sorting finished
         def sort_sub():
          repeat(sort_sub,20)
         def sort():
         sort()
  • AcceleratedC++/Chapter13 . . . . 7 matches
         상기의 함수는 sort에 의해서 각 요소의 판단식으로 사용되는 함수이다. 이 함수는 부모객체인 Core 객체 뿐만아니라, 자식 객체인 Grad객체도 대입하여 사용하는 것이 가능하다.
          sort(students.begin(), students.end(), compare);
          sort(students.begin(), students.end(), compare);
         using std::sort;
          sort(students.begin(), students.end(), compare_Core_ptrs);
         using std::sort;
          sort(students.begin(), students.end(), Student_info::compare);
  • 데블스캠프2005/RUR-PLE/정수민 . . . . 7 matches
          음.. 아주 훌륭하오. 노벨상 감이오. >ㅁ<;; 그런데 버그가 있다오. sort1에서 작동하지 않소!! 벽에 부딛힌다오.
         난 돼는데 ;; sort1이 sort.wld 이맵 말하는거아냐?
          근데 여전히 sort1은 안되는군..ㅎㅎ
          sort1이거 나만 있는 맵인가..;;ㅎㅎ 그러니까 이거 sort할곳 바로 옆에 벽이 있는 맵에서는 안된다우..ㅎㅎ
          Upload:sort1.wld
  • 데블스캠프2005/RUR_PLE/조현태 . . . . 7 matches
         소트 함수명은 sort()입니다.
         def sort_sub():
         def sort_sub_sub():
          sort_sub()
          sort_sub_sub()
         def sort():
         sort()
  • 데블스캠프2010/일반리스트 . . . . 7 matches
         int fn_qsort_intcmp( const void *a, const void *b )
          qsort( a, MAX, sizeof(int), fn_qsort_intcmp );
         == qsort by template ==
         // list::sort
          mylist.sort();
          mylist.sort(compare_nocase);
  • 2002년도ACM문제샘플풀이/문제A . . . . 6 matches
         void sort(int a[], int size);
          sort(x, 4);
          sort(y, 4);
         void sort(int a[], int size)
         // sort 함수는 #include <algorithm> 한다음
         // sort(&a[0], &a[size]); 하면 끝남
  • ClassifyByAnagram/재동 . . . . 6 matches
          def testSortWord(self):
          self.anagram.sortWord()
          self.assertEquals(expect, self.anagram.getSortWordString())
          self.anagram.sortWord()
          self.anagram.sortWord()
          def sortWord(self):
          self.wordList.sort()
          if self.anagramList[i][0] == self.getSortWordString():
          self.anagramList.append([self.getSortWordString()])
          self.sortWord()
          def getSortWordString(self):
  • IsBiggerSmarter?/문보창 . . . . 6 matches
          sort(&elephant[0], &elephant[num_elephant], Elephant());
         int TYPE_SORT;
          if (TYPE_SORT == WEIGHT)
         void sort_elephant();
          sort_elephant();
         void sort_elephant()
          TYPE_SORT = WEIGHT;
          sort(&elephant_weight[1], &elephant_weight[num_elephant+1], Elephant());
          TYPE_SORT = IQ;
          sort(&elephant_IQ[1], &elephant_IQ[num_elephant+1], Elephant());
  • WeightsAndMeasures/신재동 . . . . 6 matches
          turtles.sort(cmp = turtlesCompare)
         sort()에 비교 함수('''turtlesCompare''') 넣는데 은근히 힘들었음. 처음에는 C++의 STL에서 vector에 비교 함수 넣는 것과 같으리라고 생각하고 비교 함수를 만들었는데 안되서 확인해보니 파이썬의 리스트에서는 결과를 '''{-1, 0, 1}'''로 해야지 제대로 돌아간다는 것을 알았음. --재동
         >>> l.sort(key=lambda x:x.foo)
         >>> l.sort(key=operator.attrgetter('foo'))
         >>> l.sort(cmp=lambda a,b:cmp(a.foo,b.foo))
         >>> l.sort()
  • whiteblue/MyTermProject . . . . 6 matches
         void sort (int *);
          sort(©_data[0].kor);
          sort(©_data[0].eng);
          sort(©_data[0].math);
          sort(©_data[0].total);
         void sort(int * x) // 소트 함수
  • 데블스캠프2011/셋째날/RUR-PLE/김태진,송치완 . . . . 6 matches
         == Sorting ==
         def line_sort():
         line_sort()
         line_sort()
         line_sort()
         line_sort()
         line_sort()
          * Sort랍시고 짰지만, 형진이형이 사실은 Alignment라고 하시더군요 ㅎㅎㅎ -[김태진]
  • C++스터디_2005여름/학점계산프로그램/허아영 . . . . 5 matches
          //char sort_grade_name[STUDENT_NUM][10];
          //double sort_grade[STUDENT_NUM];
          void sort(); // 학점평균이 높은 순으로 저장.
          a.sort();
         void Student::sort()
  • GalleryMacro . . . . 5 matches
         {{{[[Gallery(col=5,nocomment,sort=name)]]}}}
         5 column, with no comments, sort by name
         {{{[[Gallery(col=2,sort)]]}}}
         2 colum, sort by time
         {{{[[Gallery(col=1,sort,showall)]]}}}
  • MedusaCppStudy/석우 . . . . 5 matches
         using std::cin; using std::sort;
          sort(numbers.begin(),numbers.end());
         using std::cin; using std::sort;
          sort(length.begin(), length.end());
          sort(sentence.begin(), sentence.end(), compare);
  • TugOfWar/남상협 . . . . 5 matches
          self.sum.sort()
          numbers.sort()
          self.sum.sort()
          self.tmpSum.sort()
          numbers.sort()
  • 사랑방 . . . . 5 matches
         purely functional language - Haskell 로 구현한 quick sort algorithm..
         qsort [] = []
         qsort (x:xs) = qsort [y|y<-xs,y<x] ++ [x] ++ qsort [y|y<-xs,y>=x]
          ''약간은 사기라고 봐도 됩니다. 퀵소트에서 첫번째 원소를 피봇으로 잡는 경우가 헤스켈에서 아주 간단히 표현될 수 있다는 점을 이용한 것이죠 -- 첫번째가 피봇이 되면 문제가 생기는 상황들이 있죠. 보통 헤스켈의 "간결성"을 강조하기 위해 전형적으로 사용되는 예입니다. 뭔가 독특한 점을 강조하기 위해 쓰인다는 것 자체가 이미 약간의 과장을 암시하고 있습니다. see also Seminar:QuickSort --JuNe''
  • AcceleratedC++/Chapter8 . . . . 4 matches
         using std::sort;
          sort(v.begin(), v.end());
          예를 들자면 find(B, E, D)같은 함수의 경우 ''아주 단순한 제한적 연산만을 이용''하기 때문에 대부분의 컨테이너에 대해서 사용이 가능하다. 그러나 sort(B, E)같은 경우에는 ''기본적인 사칙연산들을 반복자에 대해서 사용''하기 때문에 이런 연산을 지원하는 string, vector 만이 완벽하게 지원된다.
          임의 접근 반복자르 이용하는 알고리즘은 sort. vector, string 만이 임의 접근 반복자를 지원한다. list는 빠른 데이터의 삽입, 삭제에 최적화 되었기 때문에 순차적인 접근만 가능함.
  • CPPStudy_2005_1/STL성적처리_1 . . . . 4 matches
         void sortBySum(vector<Student_info> &students);
          sortBySum(students);
         void sortBySum(vector<Student_info> &students)
          sort(students.begin(),students.end(),totalCompare);
  • CPPStudy_2005_1/STL성적처리_3 . . . . 4 matches
         #include <algorithm> //sort
         bool zcompare(const student_type ele1, const student_type ele2); //sort시 비교 조건
          sort(ztable.begin(),ztable.end(),zcompare);
         //sort시 비교 조건
  • CPPStudy_2005_1/STL성적처리_3_class . . . . 4 matches
         #include <algorithm> //sort
         bool zcompare(student_table& x,student_table& y); //sort시 비교 조건
          sort(z.zbegin(),z.zend(),zcompare);
         //sort시 비교 조건
  • Linux/필수명령어/용법 . . . . 4 matches
         sort
         - sort [ -cmuodfiMnrtb ] 파일이름(들)
         sort명령의 정렬 방법에는 다음과 같은 기준이 있다.
         - $ sort sample ,, 문자를 정렬
  • MedusaCppStudy/세람 . . . . 4 matches
         using std::sort;
          sort(number.begin(), number.end());
         using std::sort;
          sort(nums.begin(), nums.end());
  • MedusaCppStudy/신애 . . . . 4 matches
         using std::sort;
          sort(number.begin (),number.end());
         using std::sort;
          sort (english.begin(),english.end());
  • OurMajorLangIsCAndCPlusPlus/stdlib.h . . . . 4 matches
         == 함수 (Functions) - Searching and Sorting Functions ==
         || void qsort(void *base, size_t nitems, size_t size, int (*compar)(const void *, const void*)); || 퀵 소트 수행 ||
         ==== qsort(), bsearch() 예제코드 ====
          /* Sort the list */
          qsort(string_array, 10, 50, strcmp);
         ==== qsort(), bsearch() 실행 결과 ====
  • Pairsumonious_Numbers/김태진 . . . . 4 matches
          sort(checkArr,checkArr+n*(n-1)/2,comp);
          sort(arr,arr+n*(n-1)/2,comp);
          sort(arr,arr+n*(n-1)/2,comp);
          sort(a,a+n,comp);
  • TheGrandDinner/조현태 . . . . 4 matches
         bool DeSort(SNumberAndPosition one, SNumberAndPosition another)
          sort(tableSize.begin(), tableSize.end(), DeSort);
          sort(teamSize.begin(), teamSize.end(), DeSort);
          sort(tableSize.begin(), tableSize.end(), DeSort);
          sort(teamTableNumber[i].begin(), teamTableNumber[i].end());
  • TheGrandDinner/하기웅 . . . . 4 matches
          sort(&team[i].person[1], &team[i].person[team[i].memberNum+1]);
          sort(&team[1], &team[input1+1], compareTeam);
          sort(&nTable[1], &nTable[input2+1], compareTable);
          sort(&team[1], &team[input1+1], compareTeam2);
  • 중위수구하기/나휘동 . . . . 4 matches
          elif sys.argv[2] == "sort":
          test.sort()
         almost same. Sort is always faster than mine.
          elif sys.argv[2] == "sort":
          test.sort()
  • .bashrc . . . . 3 matches
         grep ^"$2" |sort -u) )
          COMPREPLY=( $(cat $makef 2>/dev/null | awk 'BEGIN {FS=":"} /^[^.# ][^=]*:/ {print $1}' | tr -s ' ' '\012' | sort -u | eval $gcmd ) )
          COMPREPLY=( $("$cmd" --help | awk '{if ($1 ~ /--.*/) print $1}' | grep ^"$2" | sort -u) )
  • 02_Python . . . . 3 matches
         === Quick Sort in Python ===
         def qsort(aList):
          return qsort(ltList)+[aList[0]]+qsort(gtList)
  • AcceleratedC++/Chapter5 . . . . 3 matches
          * 벡터는 삽입, 삭제 할때마다 메모리를 몽땅 재할당한다. 따라서 ~~.end()는 버그의 온상이 왼다. 계속 바뀌므로... 하지만 list는 삽입, 삭제한다고 몽땅 재할당하지 않는다. 그래서 빠른 것이다. 또한 임의 접근을 지원하는 컨테이너만 쓸수 있는 표준 알고리즘 sort도 당연히 쓸수 없다. 그래서 list의 멤버함수로 sort가 있다. 다음과 같이 써주자.
         students.sort(compare);
  • C++스터디_2005여름/학점계산프로그램/문보창 . . . . 3 matches
          void sort_student(); // 평점으로 정렬
         void CalculateGrade::sort_student()
          sort_student();
  • CNight2011/고한종 . . . . 3 matches
         sorting이랑 스택큐? 인가 한다고 했었는데 이것도 결국 안함 ㅋ
          일단 해두면 sort할때 매우 편하다 한가지만 sort해두면 나머지도 따라오니까!
  • CPPStudy_2005_1/STL성적처리_2 . . . . 3 matches
          총점 sort|}}
         쩝.. -_-;; map 을 써봐야한다는 강박관념때문에 쓰기는 했는데.. -_-;; spec에 sort가있었다. ;; 아무래도 다시 짜는게 더 나을 것 같다.
          * sorting 이 안되는 것이 map 의 단점이다. ㅡ,.ㅡ; 그야말로 검색할때만 좋은 것 같다.
  • CodeRace/20060105/민경선호재선 . . . . 3 matches
          ArrayList<Data> list = alice.sort();
          private ArrayList<Data> sort() {
          Collections.sort(list, new DataComparator());
  • CodeRace/20060105/아영보창 . . . . 3 matches
         void sortShow()
          sort(&container[0], &container[container.size()], Word());
          sortShow();
  • HardcoreCppStudy/두번째숙제/CharacteristicOfOOP/변준원 . . . . 3 matches
         위에서 살펴볼 캡슐화와 정보 은폐의 이점은 우선 객체 내부의 은폐된 데이타 구조가 변하더라도 주변 객체들에게 영향을 주지 않는다는 것이다. 예로서, 어떤 변수의 구조를 배열(array)구조에서 리스트(list) 구조로 바꾸더라도 프로그램의 다른 부분에 전혀 영향을 미치지 않는다. 또한 어떤 함수에 사용된 알고리즘을 바꾸더라도 signature만 바꾸지 않으면 외부 객체들에게 영향을 주지 않는다. 예를 들어, sorting 함수의 경우 처음 사용된 sequence sorting 알고리즘에서 quick sorting 알고리즘으로 바뀔때 외부에 어떤 영향도 주지 않는다. 이러한 장점을 유지보수 용이성(maintainability) 혹은 확장성(extendability)이라 한다.
  • JollyJumpers/황재선 . . . . 3 matches
          nums = sort(differValue);
          private int[] sort(int[] aNum) {
         1. {{{~cpp TreeSet}}} 을 사용했다. sort에 log(n)이 소요된다.
  • ProjectGaia/계획설계 . . . . 3 matches
          1. 화일생성 - 레코드 10000개, unsorted 화일 생성 (생성 여부 확인을 위해 화면 출력 가능하도록 구현)
          unsorted 레코드를 sort하면서 page 단위 메모리에 적재를 하되, 이때 정렬 대상 레코드를 메모리에 모두 올려서 정렬하지 않고, memory size 10인 자연선택(교재155p)을 이용함. 여기서 memory size 10이라는 것은 10개의 레코드를 올릴 수 있는 공간을 말 하고, 가변 길이 레코드일 경우 실제 사이즈는 변할 수 있다. 자연선택 이후, m-원 다단계 합병(교재166p).
  • SOLDIERS/송지원 . . . . 3 matches
          // sort each of x, y array
          sort(x+1, x+num+1);
          sort(y+1, y+num+1);
  • SOLDIERS/정진경 . . . . 3 matches
          sort(x+1, x+n+1);
          sort(y+1, y+n+1);
          sort(x+1, x+n+1);
  • STL/search . . . . 3 matches
          * STL에서는 최적의 조합으로, sort + binary_search를 추천해준다. 예제를 보자.
          sort(v.begin(), v.end());
          * sort해준다음 binary_search()의 인자로는 시작부분, 끝부분, 찾고자 하는 원소. 이렇게 넣어주면 된다.
  • TugOfWar/김회영 . . . . 3 matches
         void sort(int* array,int count);
          sort(nWeightOfPeople,nPeople);
         void sort(int* array,int count)
  • TwistingTheTriad . . . . 3 matches
         In MVC, most of the application functionality must be built into a model class known as an Application Model. It is the reponsibility of the application model to be the mediator between the true domain objects and the views and their controllers. The views are responsible for displaying the domain data while the controller handle the raw usr gestures that will eventually perform action on this data. So the application model typically has method to perform menu command actions, push buttons actions and general validation on the data that it manages. Nearly all of the application logic will reside in the application model classes. However, because the application model's role is that of a go-between, it is at times necessary for it to gain access to the user interface directly but, because of the Observer relationship betweeen it and the view/controller, this sort of access is discouraged.
         For example, let's say one wants to explicitly change the colour of one or more views dependent on some conditions in the application model. The correct way to do this in MVC would be to trigger some sort of event, passing the colour along with it. Behaviour would then have to be coded in the view to "hang off" this event and to apply the colour change whenever the event was triggered. This is a rather circuitous route to achieving this simple functionality and typically it would be avoided by taking a shoutcut and using #componentAt : to look up a particular named view from the application model and to apply the colour change to the view directly. However, any direct access of a view like this breaks the MVC dictum that the model should know nothing about the views to which it is connected. If nothing else, this sort of activity surely breaks the possibility of allowing multiple views onto a model, which must be the reason behind using the Observer pattern in MVC in the first place.
  • Yggdrasil/가속된씨플플/4장 . . . . 3 matches
          * 구조체 만드는 법은 다 알고 있으니 넘어가고, sort()에 전달인자로 구조체를 넘겨주게 되면, 어떤 기준으로 정렬할 것인지 알 수가 없다. 그래서 3번째 전달인자를 사용할 수 있다. 즉,
         sort(students.begin(), students.end(), compare);
         인데, compare는 함수인데 괄호는 쓰지 않는다. 괄호를 쓸 경우 그 인자까지 알아서 써줘야할 것 같은데, sort의 정확한 구조를 잘 모르는 나에겐 좀 벅찬 방법이다. 하여튼 괄호는 쓰지 않는다.
  • whiteblue/MyTermProjectForClass . . . . 3 matches
          void sort(bool IsItSort , int select , Data d[]);
          bool IsItSort();
         void Judgement::sort(bool IsItSort , int select , Data d[]) // 소트 부분
          if (IsItSort)
         bool Order::IsItSort()
          judgement.sort(order.IsItSort(), order.subNumber(), data);
  • 데블스캠프2003/넷째날/Linux실습 . . . . 3 matches
         예를 들면, apache 로그 파일을 줍니다. 그리고 sort, uniq, cut, grep, head 등의 명령어의 사용법을 간단히 가르쳐 줍니다. 그리고 이들을 파이프로 연결해서 2003년 6월에 접속한 IP 중에 가장 자주 접속한 IP 베스트 10을 1등부터 뽑아내라고 합니다. ({{{~cpp grep "Jul/2003" access.log| cut -d' ' -f1 |sort|uniq -c|sort -rn|head -10| cut -f2}}})
  • 몸짱프로젝트/BinarySearch . . . . 3 matches
         int * sort(int aArr[]);
          int * p_arr = sort(arr);
         int * sort(int aArr[])
  • 몸짱프로젝트/BubbleSort . . . . 3 matches
         int * sort(int aArr[]);
          int * p_arr = sort(arr);
         int * sort(int aArr[])
  • 새싹교실/2011/學高/10회차 . . . . 3 matches
          * selection sort 마저 다 짜오세요. 1등으로 짜는 사람한테 보상있음(다만 그 소스코드를 설명하는 시험 봄)
          * bubble sort 설명하고, selection sort 작성하게 시킴
  • 새싹교실/2011/學高/9회차 . . . . 3 matches
          * selection sort 마저 다 짜오세요. 1등으로 짜는 사람한테 보상있음(다만 그 소스코드를 설명하는 시험 봄)
          * bubble sort 설명하고, selection sort 작성하게 시킴
  • 새싹교실/2012/AClass/2회차 . . . . 3 matches
         void sort(int a[], int n);
          sort(list,n);
         void sort(int a[], int n)
  • 정모/2013.5.6/CodeRace . . . . 3 matches
         Q2: cat input|sed 's/ /\n/g'|sort|uniq -c|awk '{print $2, $1}'
         Q3: cat input|sed 's/ /\n/g'|sort|uniq -c|awk '{print $2, $1}' | sort
  • 1002/Journal . . . . 2 matches
         결국 코드를 만들어가면서 '학습된' 코드 - 각 단어의 요소들 sort index 를 만들고 해쉬테이블을 이용하는 식으로 - 로 바로 팍 하고 진행했는데, 여전히 TDD 보폭이 크다는 생각이 드니 그리 기분이 좋지 않다. (단어들 요소 sort & hash 저장은 처음 개발할때부터 떠올랐던 아이디어여서..)
  • 10학번 c++ 프로젝트/소스 . . . . 2 matches
         void setcursortype(CURSOR_TYPE c)
          setcursortype(NOCURSOR); //커서를 숨긴다.
  • 2002년도ACM문제샘플풀이/문제D . . . . 2 matches
          sort(&inputData[i].weight[0],&inputData[i].weight[inputData[i].n],greater<int>());
          sort(weights.begin(), weights.end());
  • AcceleratedC++/Chapter14 . . . . 2 matches
         using std::sort;
          sort(students.begin(), students.end(), compare_Core_handles);
  • AcceleratedC++/Chapter9 . . . . 2 matches
         using std::sort; using std::streamsize;
          sort(students.begin(), students.end(), compare);
  • CPPStudy_2005_1/질문 . . . . 2 matches
         using std::cin; using std::sort;
          sort(homework.begin(),homework.end());
  • CodeRace/20060105/도현승한 . . . . 2 matches
          // sort
          sort(aVec2.begin(), aVec2.end(), CompareObj); // 오름차순
  • CppStudy_2002_2/STL과제 . . . . 2 matches
          * 힌트 : sort할때 객체를 담은 컨테이너를 전달해주면 어떻게 될까?
          * 10장에서 배운 연산자 재정의로 >,< 연산자를 재정의하면 객체도 sort에서 써먹을수 있다.
  • CppStudy_2002_2/STL과제/성적처리 . . . . 2 matches
          class ScoreSort
          class NameSort
          void scoreSortAndShow()
          sort(_StudentList.begin(), _StudentList.end(), ScoreSort());
          void nameSortAndShow()
          sort(_StudentList.begin(), _StudentList.end(), NameSort());
          _aScoreProcessor.nameSortAndShow();
          _aScoreProcessor.scoreSortAndShow();
  • DPSCChapter1 . . . . 2 matches
          * Recurring patterns of object configurations and interactions and the sorts of problems for which these cooperating objects provide (at least partial) solutions
         In general, designers -- in numerous domains, not just software -- apply their experience with past problems and solution to new, similar problems. As Duego and Benson(1996) point out, expert designers apply what is known in cognitive psychology and artificial intelligence as '''case-based reasoning''', remembering past cases and applying what they learned there. This is the sort of reasoning that chess masters, doctors, lawyers, and architects empoly to solve new problems. Now, design patterns allow software designers to learn from and apply the experiences of other designers as well. As in other domains, a literature of proven patterns has emerged. As a result, we can "stand on the shoulders of giants" to get us closer to the expert peak. As John Vlissies (1997) asserts, design patterns "capture expertise and make it accessible to non-experts" (p. 32).
  • EightQueenProblem/김형용 . . . . 2 matches
          result.sort()
          result.sort()
  • JollyJumpers/임인택3 . . . . 2 matches
         % 리스트에서 인접한 값의 차가 들어있는 리스트를 sort 해서 리스트 원소의 합과 가우스 합(?)을 비교.
          jollyResult([H|T], lists:usort(jollySub(H, T, []))).
  • LUA_5 . . . . 2 matches
         그리고 만약 배열로 사용하는 테이블 내의 값들을 정렬하고 싶으면 table.sort를 사용하면 됩니다.
         > table.sort(Fruit)
  • PageHitsMacro . . . . 2 matches
         PageHits에서 히트가 많은 페이지가 위에 오는데, 이를 거꾸로 해서 히트가 빈한 페이지에게도 꽃다발을 주고 싶습니다. r 옵션을 지원해서 arsort()만이 아니라 asort()도 되게 하면 어떨까요 ?
  • Pairsumonious_Numbers/권영기 . . . . 2 matches
          sort(checkans, checkans+cnt);
          sort(temp, temp + m);
  • PokerHands/Celfin . . . . 2 matches
          sort(&black[0], &black[5], compare);
          sort(&white[0], &white[5], compare);
  • PokerHands/문보창 . . . . 2 matches
          qsort(black.value, 5, sizeof(int), comp);
          qsort(white.value, 5, sizeof(int), comp);
  • PracticeNewProgrammingLanguage . . . . 2 matches
         4. quick_sort : 임의의 데이터의 집합을 quick_sort 방식으로 소팅하는 프로그램을 작성하라.
  • ProgrammingPearls/Column5 . . . . 2 matches
          * 또한 Binary Search의 가장 중요한 전제 조건인 sort되었는가? 체크해주는 함수를 앞에다 써준다. 이 경우에는 search를 한번만 해주면 n + lg n 이렇게 될것이다. 하지만 sort되었는가 체크하는 함수는 한번만 해주면 되므로, search를 한 몇천,몇만번 돌리면 결국 lg n 에 수렴할 것이다.
  • ProjectPrometheus/AT_RecommendationPrototype . . . . 2 matches
          bookList.sort()
          bookList.sort()
  • TugOfWar/강희경 . . . . 2 matches
          list.sort()
          teamTuple.sort()
  • UglyNumbers/송지원 . . . . 2 matches
         배열에 2,3,5 인수로 이루어진 수를 하나씩 때려넣어 sort를 할까 하다가
         1500개짜리 배열을 매번 sort해줄 수가 없으니ㅡㅡ;;
  • WhyWikiWorks . . . . 2 matches
          * anyone can play. This sounds like a recipe for low signal - surely wiki gets hit by the unwashed masses as often as any other site. But to make any sort of impact on wiki you need to be able to generate content. So anyone can play, but only good players have any desire to keep playing.
          * wiki is not wysiwyg. It's an intelligence test of sorts to be able to edit a wiki page. It's not rocket science, but it doesn't appeal to the TV watchers. If it doesn't appeal, they don't participate, which leaves those of us who read and write to get on with rational discourse.
  • [Lovely]boy^_^/[Lovely]boy^_^/USACO/Barn . . . . 2 matches
          sort(ret.begin(), ret.end(), greater<int>());
          sort(ar.begin(), ar.end());
  • biblio.xsl . . . . 2 matches
          <xsl:sort select="."/>
          <xsl:sort select="@id"/>
  • 벡터/곽세환,조재화 . . . . 2 matches
          sort(vec.begin(), vec.end(), compare);
          sort(vec.begin(), vec.end(), compareName);
  • 벡터/김태훈 . . . . 2 matches
          sort(stre.begin(), stre.end(),compare);
          sort(stre.begin(), stre.end(),compare2 );
  • 벡터/박능규 . . . . 2 matches
          sort(sp.begin(), sp.end(), compare);
          sort(sp.begin(),sp.end(),compare2);
  • 벡터/임민수 . . . . 2 matches
          sort(vector1.begin(), vector1.end(), comp_score);
          sort(vector1.begin(), vector1.end(), comp_name);
  • 벡터/황재선 . . . . 2 matches
          sort(ss.begin(), ss.end(), compareWithName);
          sort(ss.begin(), ss.end(), compareWithScore);
  • 새싹교실/2011/데미안반 . . . . 2 matches
          * A언어 : ALGOL을 말합니다. 고급 프로그래밍 언어(어셈블리나 기계어를 저급 프로그래밍 언어라고 합니다)로 각광받던 포트란ForTran에 대항하기 위해 유럽을 중심으로 개발된 프로그래밍 언어입니다. ALGOL은 Algorithm Language의 약자로서, 이름 그대로 알고리즘 연구개발을 위해 만들어졌습니다. 하지만 ALGOL은 특정한 프로그래밍 언어를 지칭하기 보다는 C언어나 파스칼과 같이 구조화된 프로그래밍 언어를 지칭하는 말(ALGOL-like programming language)로 쓰입니다. [http://kin.naver.com/qna/detail.nhn?d1id=1&dirId=1040101&docId=68855131&qb=Q+yWuOyWtCBC7Ja47Ja0IEHslrjslrQ=&enc=utf8§ion=kin&rank=1&search_sort=0&spq=0&pid=ghtBIz331ywssZ%2BbORVssv--324794&sid=TYBj6x1TgE0AAE@GUeM 출처 링크! 클릭하세요:)]
          * [강소현] - 다차원 배열의 선언 및 초기화와 2차원 배열을 이용한 행렬 계산을 실습항였습니다. 이후에 sort와 search 부분도 나가려 하였으나...올 해는 꼭 티셔츠를 받고 말겠다!라는 의욕으로 함께 줄 서서 기다렸습니다 /ㅁ/ 아 줄이 안끊겨서 다행이에요ㅎㅎ
  • 알고리즘8주숙제/문보창 . . . . 2 matches
          sort(indata.begin(),indata.end(),Data());
          sort(indata.begin(),indata.end(),compare);
  • 영호의해킹공부페이지 . . . . 2 matches
         Within a few hours, our sniffer logs begin to pick up all sorts of interesting
         lamers making fools of themselves on IRC and all sorts of funny stuff. Aaah,
  • 자료병합하기/임인택 . . . . 2 matches
         filter (\x -> x/=99 ) ( List.nub (List.sort ([10, 40, 70, 80, 90, 99] ++ [20, 30, 40, 50, 60, 70, 85, 90, 95, 97, 99] ) ) )
         === 직접 nub, sort 구현 ===
  • 중위수구하기/문보창 . . . . 2 matches
          sortElement(0, length);
          public void sortElement(int start, int end)
  • 2학기파이선스터디/ 튜플, 사전 . . . . 1 match
         >>> items.sort()
  • 3N+1/임인택 . . . . 1 match
          head (List.sortBy (flip compare) (gatherCycleLength (head fromto) (head (tail fromto)) []) )
  • AcceleratedC++/Chapter6 . . . . 1 match
          sort, remove_if, partition 은 모두 요소를 새로운 위치로 이동시키지만, 컨테이너 자체의 속성인 크기를 변경하지는 않는다.
  • AproximateBinaryTree/김상섭 . . . . 1 match
          sort(root->nodes.begin(),root->nodes.end(),comapare);
  • BigBang . . . . 1 match
          * qsort 작성을 위해서는 함수 포인터를 지정해야 하는데, C++의 클래스를 이용하면 이것을 생략할 수 있다.
  • Bigtable/분석및설계 . . . . 1 match
          1. memtable 구현, 어떻게 sort하나?, 키 밸류는 array?...
  • Bigtable기능명세 . . . . 1 match
          1. 태블릿 split시 키는 반드시 sort되어 있어야 한다.
  • Bridge/권영기 . . . . 1 match
          sort(man, man + n);
  • C 스터디_2005여름/학점계산프로그램/김태훈김상섭 . . . . 1 match
          sort(ban.begin(),ban.end(),zcompare);
  • CPPStudy_2005_1/STL성적처리_1_class . . . . 1 match
          sort(m_students.begin(),m_students.end(),::totalCompare);
  • CPPStudy_2005_1/STL성적처리_4 . . . . 1 match
          sort(students.begin(),students.end(),compare);
  • ClassifyByAnagram/1002 . . . . 1 match
          result.sort()
  • ClassifyByAnagram/JuNe . . . . 1 match
          key=list(eachWord);key.sort();key=''.join(key)
  • ClassifyByAnagram/박응주 . . . . 1 match
          s.sort()
  • ClassifyByAnagram/상규 . . . . 1 match
          sort(key.begin(), key.end());
  • CodeRace/20060105 . . . . 1 match
         || JuNe || require 'strings' <br/> alpha=:((97&+,65&+)i.26){a. <br/> alphaonly=:#~e.&alpha <br/> d=:alphaonly each cut (LF,' ') charsub s <br/> w=:{./.~ d <br/> c=:<"0 #/.~ d <br/> ascii=: +/@(a.&i.) each w <br/> sort w ,. c ,. ascii ||
  • CodeRace/20060105/Leonardong . . . . 1 match
         report.sort()
  • DPSCChapter2 . . . . 1 match
         Before launching into our descriptions of specific design patterns, we present a case study of sorts, involving multiple patterns. In the Design Pattern preface, the Gang of Four speak about moving from a "Huh?" to an "Aha!" experience with regard to understanding design patterns. We present here a little drama portraying such a transition. It consists of three vignettes: three days in the life of two Smalltalk programmers who work for MegaCorp Insurance Company. We are listening in on conversations between Don (an object newbie, but an experienced business analyst) and Jane (an object and pattern expert). Don comes to Jane with his design problems, and they solve them together. Although the characters are fictitious, the designs are real and have all been part of actual systems written in Smalltalk. Our goal is to demonstrate how, by careful analysis, design patterns can help derive solutions to real-world problems.
  • DataStructure . . . . 1 match
         ["DataStructure/Sort"]
          * [http://www.inf.fh-flensburg.de/lang/algorithmen/sortieren/ 소팅잘나온사이트]
  • DocumentObjectModel . . . . 1 match
         Different variants of DOMs were initially implemented by web browsers to manipulate elements in an HTML document. This prompted the World Wide Web Consortium (W3C) to come up with a series of standard specifications for DOM (hence called W3CDOM).
  • Eclipse . . . . 1 match
          * 결론이 말이지. consortium에 이렇게 정의 되어 있다는.. 아 영어여...그리고 아예 Subproject에 Platform, JDT, PDE로 나누어 있구만. 부지런한 사람들 --상민
  • Expat . . . . 1 match
         James Clark released version 1.0 in 1998 while serving as technical lead on the XML Working Group at the World Wide Web Consortium. Clark released two more versions, 1.1 and 1.2, before turning the project over to a group led by Clark Cooper, Fred Drake and Paul Prescod in 2000. The new group released version 1.95.0 in September 2000 and continues to release new versions to incorporate bug fixes and enhancements. Expat is hosted as a SourceForge project. Versions are available for most major operating systems.
  • JollyJumpers/1002 . . . . 1 match
          sorted((abs(values[i]-values[i+1])
  • JollyJumpers/Celfin . . . . 1 match
          sort(&numList[0], &numList[numList.size()]);
  • JollyJumpers/임인택2 . . . . 1 match
          if (jollySub ((head numbers)-1) (tail numbers) []) == (List.sortBy (flip compare) [1..((head numbers)-1)])
  • LIB_3 . . . . 1 match
          // ready queue sort
  • LongestNap/문보창 . . . . 1 match
          sort(&promise[0], &promise[nPromise], Promise());
  • MedusaCppStudy/재동 . . . . 1 match
          sort(words.begin(), words.end(), compare);
  • Memo . . . . 1 match
         http://search.costcentral.com/search?p=Q&srid=S9%2d3&lbc=costcentral&ts=custom&w=ThinkPad&uid=975848396&method=and&isort=price&srt=150
  • MineFinder . . . . 1 match
         Profile: Function timing, sorted by time
  • MoinMoinNotBugs . . . . 1 match
         I suspect this problem is pervasive, and I also suspect that the solution is almost moot; probably a one-off counting problem, or a mis-ordered "case" sort of sequence. If the /UL closing tag were to precede the P opening tag, all would be well.
  • NetworkDatabaseManagementSystem . . . . 1 match
         The network model is a database model conceived as flexible way of representing objects and their relationships. Its original inventor was Charles Bachman, and it was developed into a standard specification published in 1969 by the CODASYL Consortium. Where the hierarchical model structures data as a tree of records, with each record having one parent record and many children, the network model allows each record to have multiple parent and child records, forming a lattice structure.
  • OurMajorLangIsCAndCPlusPlus/locale.h . . . . 1 match
         #define LC_COLLATE (integer constant expression) 스트링(string)의 정렬 순서(sort order 또는 collation)를 위한 로케일 설정을 위해 사용
  • Plugin/Chrome/네이버사전 . . . . 1 match
          "sort=relevance&" + // another good one is "interestingness-desc"
  • Polynomial . . . . 1 match
          void sort(Node *node) // 다항식을 내림차순으로 정리한다.
  • ProjectPrometheus/CollaborativeFiltering . . . . 1 match
          *When a user does a specific well-defined action, bookPref is updated as "prefCoef*userPref+bookPref" and resorted. (some books at the end of the list might be eliminated for performance reasons)
  • RunTimeTypeInformation . . . . 1 match
         int my_comparison_method_for_generic_sort(base &ref1, base &ref2)
  • STL . . . . 1 match
          * ["STL/sort"]
  • Shoemaker's_Problem/김태진 . . . . 1 match
          //sort(arr,arr+N,comp);
  • TugOfWar/문보창 . . . . 1 match
          qsort(weight, nPeople, sizeof(int), comp);
  • TugOfWar/신재동 . . . . 1 match
         def reverseSort(list):
          list.sort()
          reverseSort(weights)
  • UglyNumbers/1002 . . . . 1 match
         그러다가, '에이.. 걍 sort 해버리자.' 접근. 하지만, n 값에 따라 결과가 영향을 받을 것이라는 막연한 생각에 연습장에서 한참 고민. 그냥 실제 원하는 값 보다 여유분 값을 만들고 적당히 답을 내는 방식으로 접근. 하지만, 무언가 굉장히 찝찝함.
  • UglyNumbers/곽세환 . . . . 1 match
          numbers.sort();
  • UglyNumbers/문보창 . . . . 1 match
          qsort(num, count, sizeof(int), comp);
  • UglyNumbers/송지훈 . . . . 1 match
         sorting 을 사용하는 방법을 생각해봐야 하겠다 라는 것을 느낌.
  • UglyNumbers/황재선 . . . . 1 match
          numberList.sort()
  • Unicode . . . . 1 match
         official consortium : [http://www.unicode.org]
  • Velocity . . . . 1 match
         Veloeclipse - http://propsorter.sourceforge.net/veloeclipse/
  • VitosFamily/Celfin . . . . 1 match
          sort(&addressList[0], &addressList[homeNum]);
  • VonNeumannAirport/남상협 . . . . 1 match
          trafficResult.sort(lambda x,y: cmp(x[1],y[1]))
  • WeightsAndMeasures/김상섭 . . . . 1 match
          sort(test.begin(), test.end(), compare);
  • WeightsAndMeasures/문보창 . . . . 1 match
          sort(&t[1], &t[numT+1], turtleGreater);
  • ZeroPage_200_OK . . . . 1 match
          * sortable(), appendTo(), data(), focus(), blur(), clone() 등의 jQuery API를 사용.
  • [Lovely]boy^_^/USACO/MixingMilk . . . . 1 match
          sort(numlist.begin(), numlist.end());
  • koi_aio/권영기 . . . . 1 match
          sort( s, s+i, cc);
  • koi_cha/곽병학 . . . . 1 match
          sort(vc.begin() +1 , vc.end(), myOp);
  • sort/권영기 . . . . 1 match
          sort(number[1].begin(), number[1].begin() + n, cmp);
  • subsequence/권영기 . . . . 1 match
          sort(barn.begin(), barn.begin() + n);
  • usa_selfish/곽병학 . . . . 1 match
          Arrays.sort(p, new myCmp());
  • usa_selfish/권영기 . . . . 1 match
          sort(c, c+n, cc);
  • usa_selfish/김태진 . . . . 1 match
          qsort((void*)arr, N, sizeof(cow), compare);
  • 강성현 . . . . 1 match
         var array = text.replace(/\r\n|\r|\n/, ' ').split(' ').sort();
  • 데블스캠프2003/ToyProblems . . . . 1 match
         sort 20분
  • 데블스캠프2003/첫째날 . . . . 1 match
          * sort 20분
  • 데블스캠프2004/세미나주제 . . . . 1 match
         [STL]을 할때 단순히 자료구조를 사용하는 방법을 같이 보는것도 중요하겠지만 내부구조 (예를 들어, vector는 동적 배열, list은 (doubly?) linked list..)와 같이 쓰이는 함수(sort나 또 뭐가있드라..그 섞는것..; ), 반복자(Iterator)에 대한 개념 등등도 같이 보고 더불어 VC++6에 내장된 STL이 ''표준 STL이 아니라는 것''도 같이 말씀해 주셨으면;; (SeeAlso [http://www.stlport.org/ STLPort]) - [임인택]
  • 데블스캠프2005/Python . . . . 1 match
         >>> L.sort() 정렬
  • 데블스캠프2011/둘째날/Machine-Learning/SVM/namsangboy . . . . 1 match
          docwordlist.sort(reverse=False)
  • 데블스캠프2012/첫째날/후기 . . . . 1 match
          * 첫째 날 데블스 캠프는 정말 재미있었습니다. 우선 C 수업 중에 배우지 않은 문자열 함수와 구조체에 대해 배웠습니다. 또 수업 중에 배운 함수형 포인터를 실제로 사용해(qsort.... 잊지않겠다) 볼 수 있었습니다. 또 GUI를 위해 Microsoft Expression을 사용하게 됬는데, 이런 프로그램도 있었구나! 하는 생각이 들었습니다. GUI에서 QT Creator라는 것이 있다는 것도 오늘 처음 알게 되었습니다. 데블스 캠프를 통해 많은 것을 배울 수 있었습니다.
  • 벡터/권정욱 . . . . 1 match
          sort(vec.begin(), vec.end(), compare);
  • 벡터/김수진 . . . . 1 match
          sort(vec.begin(),vec.end(),compare);
  • 벡터/김홍선,노수민 . . . . 1 match
          sort(vec.begin(), vec.end(), *compare);
  • 벡터/유주영 . . . . 1 match
          sort(vec.begin(),vec.end(),compare);
  • 벡터/임영동 . . . . 1 match
          sort(vec.begin(), vec.end(), compare);
  • 벡터/조동영 . . . . 1 match
          sort(vec.begin(),vec.end(), compare);
  • 새싹교실/2011 . . . . 1 match
         달력을 하던 sorting을 하던 알아서 할 것
  • 새싹교실/2011/A+ . . . . 1 match
          * 피드백 쓰는게 갈 수록 늦어지고 있다 큰일이다 으헝헝. 배열과 포인터, call by value==pass by value에 대해서 배웠고 과제는 swap()을 구현해보라 하셨다. 포인터사용이 아직 능숙하진 않지만 이걸 이용하면 이제 할 수 있는게 무궁무진 해지겠지... 과제완료 : [고한종/swap()] 그리고 이걸 이용해서 다음 C프로그래밍 과목 과제로 예상되는 sort를 시도하고 있으나 잘안됨 ㅜㅠ - [고한종]
  • 새싹교실/2011/무전취식/레벨9 . . . . 1 match
          * Bubble Sort, Selection Sort
         void selectionSort(int A[], int size);
          selectionSort(a,N);
         void selectionSort(int A[], int size)
          // sort in increasing order
  • 새싹교실/2012/주먹밥 . . . . 1 match
         Sort 신난다.
          - Bubble Sort
          - Quick Sort를 배우고 싶다. 소스를 찾아서 짜보고
         quicksort( );
          * Quick Sort 짜보기
  • 알고리즘3주숙제 . . . . 1 match
         The directory is sorted by alphabetical order of names. It contains n entries which are stored in 2 arrays:
  • 임인택/삽질 . . . . 1 match
          * STL list 는 자체적으로 sort 함수를 갖는다. ( 처음엔 VC 의 STL 이 표준이 아니라 그런줄 알고 [http://stlport.org STLPort] 를 설치하려 했었다.
  • 정렬 . . . . 1 match
          Upload:UnsortedData.txt
  • 정렬/곽세환 . . . . 1 match
          ifstream fin("unsorteddata.txt");
  • 정렬/문원명 . . . . 1 match
          ifstream fin("UnsortedData.txt");
  • 정렬/민강근 . . . . 1 match
          ifstream fin("UnsortedData.txt");
  • 정렬/방선희 . . . . 1 match
          ifstream fin("UnsortedData.txt");
  • 중위수구하기/김태훈zyint . . . . 1 match
          sort($value); // 배열 오름차순 정렬
  • 중위수구하기/조현태 . . . . 1 match
         getMiddle(NumA, NumB, NumC) -> [_, A, _] = lists:sort([NumA, NumB, NumC]), A.
  • 큰수찾아저장하기/허아영 . . . . 1 match
          * 나름대로 sort에 대해 여러가지 생각을 하게 된 계기가 된 것 같다.
  • 토이/숫자뒤집기/김정현 . . . . 1 match
          Arrays.sort(charBoxes);
Found 196 matching pages out of 7555 total pages (5000 pages are searched)

You can also click here to search title.

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
Processing time 0.3232 sec