E D R , A S I H C RSS

Full text search for "random"

random


Search BackLinks only
Display context of search results
Case-sensitive searching
  • JavaScript/2011년스터디/URLHunter . . . . 18 matches
          var temp=Math.floor(Math.random()*40)+1
          var temp=Math.floor(Math.random()*10)+1;
          this.randomMove = function(){
          var t = (Math.floor(Math.random()*100)%3);
          this.a1 = new Monster(Math.floor(Math.random()*MapLength));
          this.a2 = new Monster(Math.floor(Math.random()*MapLength));
          this.a3 = new Monster(Math.floor(Math.random()*MapLength));
          this.a4 = new Monster(Math.floor(Math.random()*MapLength));
          this.a5 = new Monster(Math.floor(Math.random()*MapLength));
          this.H = new Hunter(Math.floor(Math.random()*MapLength));
          this.a1.randomMove();
          this.a2.randomMove();
          this.a3.randomMove();
          this.a4.randomMove();
          this.a5.randomMove();
          if(Math.random() > 0.5){
          a=Math.floor(Math.random()*40);
          temp=Math.floor(Math.random()*3)-1;
  • whiteblue/NumberBaseballGame . . . . 14 matches
         int random_input[3];
          random_input[0] = rand()%10;
          random_input[1] = rand()%10;
          random_input[2] = rand()%10;
          } while(random_input[0] == random_input[1] || random_input[1] == random_input[2] || random_input[0] == random_input[2]);
          cout << "\t" << random_input[0] << random_input[1] << random_input[2] << endl;
          if (input[i] == random_input[i])
  • Randomwalk/조동영 . . . . 10 matches
         = [RandomWalk]/[조동영] =
          int random = rand()%8; // 0~7 까지의 임의의 수 생성해서 random 이란 integer 값에 대입
          if (ibug + imove[random] <0 || ibug + imove[random] > Xroom-1 ||
          jbug + jmove[random] <0 || jbug + jmove[random] > Yroom-1)
          room[ibug+imove[random]][jbug+jmove[random]]++;
          ibug = ibug + imove[random];
          jbug = jbug + jmove[random];
         2차원 동적 배열할때 벡터를 사용해도 좋음. [RandomWalk2/Vector로2차원동적배열만들기] 자료구조 숙제는 [STL]을 사용하면 더 편하게 할수 있는거 같다. - [상협]
  • 빵페이지/숫자야구 . . . . 10 matches
         난수생성 참고자료 : RandomFunction , WindowsConsoleControl
          char random[4]; // 임의로 만들어질 숫자를 저장하는 배열
          random[i] = '0' + rand() % 9 + 1;
          if (random[i] == random[j])
          /*cout << random[0] << random[1] << random[2] << random[3] << endl;*/ // 대략 답 -_-;;;
          if (space[j] == random[j])
          if (j != k && space[j] == random[k])
  • MobileJavaStudy/SnakeBite/FinalSource . . . . 7 matches
          Random random = new Random();
          appleX = Math.abs(random.nextInt()) % snakeXRange;
          appleY = Math.abs(random.nextInt()) % snakeYRange;
          private Random random;
          random = new Random();
          appleX = (Math.abs(random.nextInt()) % ((boardWidth-1) / cellRect)) * cellRect + boardX;
          appleY = (Math.abs(random.nextInt()) % ((boardHeight-1) / cellRect)) * cellRect + boardY;
  • JTDStudy/첫번째과제/원명 . . . . 6 matches
          setNumber = (int) (Math.random() * 10);
          setNumber = (int) (Math.random() * 10);
          setNumber = (int) (Math.random() * 10);
          setNumber = (int) (Math.random() * 10);
          setNumber = (int) (Math.random() * 10);
          setNumber = (int) (Math.random() * 10);
  • 새싹교실/2012/AClass/4회차 . . . . 5 matches
         //10.LinearSearch를 구현해보세요. 배열은 1000개로 잡고, random함수를 이용해 1부터 1000까지의 숫자를 랜덤으로 배열에 넣은 후, 777이 배열내에 있었는지를 찾으면 됩니다.
         void random(int a[]);
          random(a);
         void random(int a[])
         LinearSearch를 구현해보세요. 배열은 1000개로 잡고, random함수를 이용해 1부터 1000까지의 숫자를 랜덤으로 배열에 넣은 후, 777이 배열내에 있었는지를 찾으면 됩니다. 프로그램을 실행시킬 때마다 결과가 달라지겠죠?
  • JTDStudy/첫번째과제/상욱 . . . . 4 matches
          fstNum = "" + (Math.random()*10);
          secNum = "" + (Math.random()*10);
          trdNum = "" + (Math.random()*10);
          from random import randint
  • JavaStudy2002/상욱-2주차 . . . . 4 matches
          Random rand = new Random();
          public int randomNumber_1() {
          public int randomNumber_2() {
          return (randomNumber_1()%3)-1; // -1 is left, 1 is right.
          return (randomNumber_2()%3)-1; // -1 is up, 1 is down.
  • RandomWalk/유상욱 . . . . 4 matches
          int count, question, random, x = 0 , y = 0;
          random = rand() % 4;
          cout << random << endl;
          switch ( random )
         ["RandomWalk"]
  • RoboCode/random . . . . 4 matches
         Upload:random.ILLIA_1.0.jar
         Upload:random.ElLin_1.0.jar
         Upload:random.Xman_1.0.jar
         Upload:random.JeongSeo_1.0.jar
  • JTD 야구게임 짜던 코드. . . . . 3 matches
          a = (int)(random() % 1000);
          a = (int)(random() % 1000);
          a = (int)(random() % 1000);
  • JTDStudy/첫번째과제/영준 . . . . 3 matches
          num[0] = (int)(Math.random()*10);
          num[1] = (int)(Math.random()*10);
          num[2] = (int)(Math.random()*10);
  • JTDStudy/첫번째과제/원희 . . . . 3 matches
          comNum[0] = (int)(Math.random() * 10 +1);
          comNum[1] = (int)(Math.random() * 10 +1);
          comNum[2] = (int)(Math.random() * 10 +1);
  • 데블스캠프2002 . . . . 3 matches
         || 99 학번 || 강석천(목,금), 윤정수(화요일이후), 류상민(random()%4) ||
         || 00 학번 || 이정직(일/금), 최광식, 김남훈(random;), 임인택(수,목 혹은 둘다) ||
         || 01 학번 || 남상협(모든요일ㅡㅡ;), 신재동, 이창섭(월,화), 이선호, 이상규(random) ||
          1. ["RandomWalk"] - 2학년 1학기 자료구조 첫 숙제였음. ["radiohead4us"]
          1. ["RandomWalk2"] - aka Scheduled Walk.
  • 데블스캠프2005/월요일/BlueDragon . . . . 3 matches
         import random
          self.aDragon.hp -= random.randrange(100)
          self.aUser.hp -= random.randrange(100)
  • 렌덤워크/조재화 . . . . 3 matches
          srand(time(0)); //for make random number
          int k; //random variable
          k = rand()%8; // random value range :0~7
  • 새싹교실/2012/AClass/3회차 . . . . 3 matches
         10.LinearSearch를 구현해보세요. 배열은 1000개로 잡고, random함수를 이용해 1부터 1000까지의 숫자를 랜덤으로 배열에 넣은 후, 777이 배열내에 있었는지를 찾으면 됩니다. 프로그램을 실행시킬 때마다 결과가 달라지겠죠?
         10.LinearSearch를 구현해보세요. 배열은 1000개로 잡고, random함수를 이용해 1부터 1000까지의 숫자를 랜덤으로 배열에 넣은 후, 777이 배열내에 있었는지를 찾으면 됩니다. 프로그램을 실행시킬 때마다 결과가 달라지겠죠?
         11.LinearSearch를 구현해보세요. 배열은 1000개로 잡고, random함수를 이용해 1부터 1000까지의 숫자를 랜덤으로 배열에 넣은 후, 777이 배열내에 있었는지를 찾으면 됩니다. 프로그램을 실행시킬 때마다 결과가 달라지겠죠?
  • 실시간멀티플레이어게임프로젝트/첫주차소스1 . . . . 3 matches
         import random
         plane= [random.randrange(-300,-100), random.randrange(100,300)]
  • 영호의바이러스공부페이지 . . . . 3 matches
          jmp random_mutation ; Put the virus into action
         random_mutation: ; First decide if virus is to mutate
          je random_mutation ; If so, get a new value.
  • 타도코코아CppStudy/0731 . . . . 3 matches
         || 랜덤워크 || [CherryBoy] || Upload:randomWalk_CherRy.cpp|| . ||
         || ZeroWiki:RandomWalk2 || [CherryBoy] || Upload:randomWork2_CheRy.cpp || 다시 평가부탁드립니다 - [CherryBoy] ||
          * randomwalk2 거의 끝나 간다.~~ 우하하하하~~ 알바 끝나고 와서 올립니다.~~ [수진]
  • AcceleratedC++/Chapter7 . . . . 2 matches
          // from which we select one at random
         // return a random integer in the range `[0,' `n)'
  • JTDStudy/첫번째과제/정현 . . . . 2 matches
          String number= extractor.getRandomBall();
          beholder.setAnswer(this.extractor.getRandomBall());
          public String getRandomBall() {
          int index= (int)(Math.random()*numbers.size());
          public String getRandomBall(int nBall) {
          numbers.add(getRandom(ballLimit(nBall)));
          private String getRandom(int range) {
          return String.valueOf((int)(Math.random()*range));
  • JavaStudy2002/세연-2주차 . . . . 2 matches
          Random random = new Random();
          dir = random.nextInt() % 8;
         public class RandomWalk{
  • OperatingSystemClass/Exam2002_2 . . . . 2 matches
          Thread.sleep(( (int)(3*Math.random()) )*1000);
          Thread.sleep(( (int)(3*Math.random()) )*1000);
  • RandomWalk/황재선 . . . . 2 matches
         // 벌레가 random으로 결정된 방향으로 이동
          // 시드 설정 for random function
         RandomWalk
  • RandomWalk2/재동 . . . . 2 matches
         == RandomWalk2 ==
         {{{~cpp RandomWalk2.py}}}
         import unittest, random, os.path
         import unittest, random, os.path
  • WindowsConsoleControl . . . . 2 matches
         #define randomize() srand((unsigned)time(NULL))
         #define random(n) (rand() % (n))
  • 데블스캠프2005/금요일/OneCard . . . . 2 matches
         import random
          random.shuffle(cards)
  • 새싹교실/2012/AClass/2회차 . . . . 2 matches
         - 난수(random number)를 생성할때 stdlib.h헤더파일을 코드에 포함시키고 srand()를 사용한다.rand()함수는 매번 그 값이 같은 반면에 매실행때마다 난수를 다르게 생성하기 위해서 srand()를 사용한다.
          printf("rand()함수를 사용,1개의 random number 나타내기 \n");
  • 실시간멀티플레이어게임프로젝트/첫주차소스2 . . . . 2 matches
         import random, math, time
         position = random.choice(organ)
  • 타도코코아CppStudy/0728 . . . . 2 matches
         || ZeroWiki:RandomWalk2 || [CherryBoy] || Upload:randomWork2_CheRy.cpp || 다시 ||
         || 랜덤워크 || [CherryBoy] || Upload:randomWalk_CherRy.cpp || . ||
          * 인수형~~~~~ 파일 입출력 Random Walk2 올렸씁니다.. 지금 시간 8시..1시간정도 걸렸네요..-_-; 파일 입출력 고생하다..!! - [CherryBoy]
  • AcceleratedC++/Chapter5 . . . . 1 match
          === 5.1.2 Sequential versus random access ===
  • DocumentObjectModel . . . . 1 match
         Most XML parsers (e.g., Xerces) and XSL processors (e.g., Xalan) have been developed to make use of the tree structure. Such an implementation requires that the entire content of a document be parsed and stored in memory. Hence, DOM is best used for applications where the document elements have to be randomly accessed and manipulated. For XML-based applications which involve a one-time selective read/write per parse, DOM presents a considerable overhead on memory. The SAX model is advantageous in such a case in terms of speed and memory consumption.
  • EightQueenProblem/김형용 . . . . 1 match
         import unittest, random, pdb
  • EightQueenProblem/밥벌레 . . . . 1 match
         procedure SetQueens(n: Integer); // 퀸 배치하기. 이 소스의 핵심함수. n은 현재 사용안한다. 처음엔 RandomSeed로 쓰려했음..-_-;
          row := random(8);
          Randomize;
  • Garbage collector for C and C++ . . . . 1 match
         # to determine how particular or randomly chosen objects are reachable
  • JTDStudy/첫번째과제/장길 . . . . 1 match
          return (int) (Math.random()*1000);
  • JavaStudy2003/두번째과제/곽세환 . . . . 1 match
         RandomWalk
          int dir = (int)(Math.random() * 8);
  • MineSweeper/이승한 . . . . 1 match
          if( map[i][j]!= -1 && mine_count < quantityMine && !( random(100) % 5 ) ){
  • MoniWiki/HotKeys . . . . 1 match
          ||A||action=randompage || ||
  • NumberBaseballGame/jeppy . . . . 1 match
          randomize();
  • NumberBaseballGame/동기 . . . . 1 match
         int random(int[],int);
  • PerformanceTest . . . . 1 match
          printf ("random number : %d \n", nRandNum);
  • RandomWalk/은지 . . . . 1 match
          cout << "=random walk problem= \n";
         ["RandomWalk"]
  • RoboCode . . . . 1 match
         ||[RoboCode/random], [RoboCode/sevenp], [로보코드/베이비] , [RoboCode/msm], [RoboCode/siegetank],[RoboCode/ing] || 2005년 데블스캠프 ||
  • STL/search . . . . 1 match
          이 과정을 재귀적으로 하면 값을 찾을수 있다. 이런 탐색 방법을 Binary Search 라고 부른다. 이것이 성립하려면, 원소들이 정렬되어 있고, 임의접근(random)이 가능해야 한다. 정렬이 안되어 2,3 번의 과정을 진생할수 없다.
  • UML/CaseTool . . . . 1 match
         Reverse engineering encloses the problematic, that diagram data is normally not contained with the program source, such that the UML tool, at least in the initial step, has to create some ''random layout'' of the graphical symbols of the UML notation or use some automatic ''layout algorithm'' to place the symbols in a way that the user can understand the diagram. For example, the symbols should be placed at such locations on the drawing pane that they don't overlap. Usually, the user of such a functionality of an UML tool has to manually edit those automatically generated diagrams to attain some meaningfulness. It also often doesn't make sense to draw diagrams of the whole program source, as that represents just too much detail to be of interest at the level of the UML diagrams. There are also language features of some [[programming language]]s, like ''class-'' or ''function templates'' of the programming language [[C plus plus|C++]], which are notoriously hard to convert automatically to UML diagrams in their full complexity.
  • UseSTL . . . . 1 match
          random_shuffle(&a[0], &a[10000]);
  • WOWAddOn/2011년프로젝트/초성퀴즈 . . . . 1 match
          i = random(25,70000)
  • ZeroPageServer/AboutCracking . . . . 1 match
          * 증상 : '''ZeroPageServer 에서 무한 데이터가 random ip 로 전송. 감시 동안 수천 packet 이상 통계 확인'''
  • ZeroWiki . . . . 1 match
          * ZeroWiki 역사 서술 시간. - from [https://zeropage.slack.com/messages/random/ 슬랙]
  • mantis . . . . 1 match
         // $t_password = auth_generate_random_password( $t_seed );
  • 데블스캠프2003/ToyProblems . . . . 1 match
         random walk
         FileInputOutput [파일입출력] RandomFunction
  • 데블스캠프2003/둘째날 . . . . 1 match
          * random walk
  • 데블스캠프2012/첫째날/후기 . . . . 1 match
          * 당신을 위한 최고의 솔루션 - [http://random.org/ RANDOM.ORG]
  • 비행기게임/BasisSource . . . . 1 match
         import random, os.path
  • 새싹교실/2011/學高/8회차 . . . . 1 match
          * random()
  • 새싹교실/2012/AClass . . . . 1 match
          10.LinearSearch를 구현해보세요. 배열은 1000개로 잡고, random함수를 이용해 1부터 1000까지의 숫자를 랜덤으로 배열에 넣은 후, 777이 배열내에 있었는지를 찾으면 됩니다. 프로그램을 실행시킬 때마다 결과가 달라지겠죠?
  • 영어학습방법론 . . . . 1 match
          * Topic 중심이나 또는 아예 random한 단어장이 괜찮음
  • 영호의해킹공부페이지 . . . . 1 match
         Hmmm. I'm still bored. I know! I think I'll su and edit some random junk into
  • 타도코코아CppStudy/0724 . . . . 1 match
          SeeAlso) [RandomWalk2/ClassPrototype]
          SeeAlso) OWIKI:RandomWalk2/ClassPrototype
         || 랜덤워크 || [정우] || Upload:random_winy.cpp || 저랑 같이 고쳐봅시다. 고칠게 많네요. 결과는 제대로 되었지만... 이런 식으로 짠 코드는 나중에 수정하기가 골치아프답니다. ||
  • 타도코코아CppStudy/0804 . . . . 1 match
         || ZeroWiki:RandomWalk || . || . || . ||
         || ZeroWiki:RandomWalk2 || CherryBoy || Upload:randomWork2_CheRy.cpp || . ||
  • 타도코코아CppStudy/0811 . . . . 1 match
         || ZeroWiki:RandomWalk || 정우||Upload:class_random.cpp . || 왜 Worker가 Workspace를 상속받지? 사람이 일터의 한 종류야?--; 또 에러뜨네 cannot access private member. 이건 다른 클래스의 변수를 접근하려고 해서 생기는 에러임. 자꾸 다른 클래스의 변수를 쓰려 한다는건 그 변수가 이상한 위치에 있다는 말도 됨 ||
         || ZeroWiki:RandomWalk2 || . || . || . ||
Found 64 matching pages out of 7544 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.4285 sec