U E D R , A S I H C RSS

Full text search for "Jolly Jumpers/WordIndex"

Jolly Jumpers/Word Index


Search BackLinks only
Display context of search results
Case-sensitive searching
  • JollyJumpers . . . . 25 matches
         === About JollyJumpers ===
         n개의 정수(n>0)로 이루어진 수열에 대해 서로 인접해 있는 두 수의 차가 1에서 n-1까지의 값을 모두 가지면 그 수열을 유쾌한 점퍼(jolly jumper)라고 부른다. 예를 들어 다음과 같은 수열에서
         입력된 각 줄에 대해 "Jolly" 또는 "Not Jolly"를 한 줄씩 출력한다
         Jolly
         Not jolly
          || [문보창] || C++ || 1시간 || [JollyJumpers/문보창] ||
          || [황재선] || Java || 2시간 || [JollyJumpers/황재선] ||
          || [신재동] || Java || 30분 || [JollyJumpers/신재동] ||
          || [강희경] || C++ || 2시간 || [JollyJumpers/강희경] ||
          || [김회영] || C++ || ? || [JollyJumpers/김회영] ||
          || [이승한] || C++ || 오래걸렸음 || [JollyJumpers/이승한] ||
          || [Leonardong] || [Python] || 1시간 + 36분|| [JollyJumpers/Leonardong] ||
          || [Digi-VM] || C++ || 2시간 || [JollyJumpers/오승균] ||
          || [곽세환] || C++ || 1시간10분 || [JollyJumpers/곽세환] ||
          || [iruril] || [Java] || 구상및참고:35분, 순수코딩25분 || [JollyJumpers/iruril] ||
          || [임인택] || [Java] || 15분 || [JollyJumpers/임인택] ||
         || JuNe || J || 10분 || >@(('Not jolly';'Jolly')&({~))@(1&(#~)@<:@# -: i.&.<:@# e. 2&(|@-/\)) ||
         || [임인택] || [HaskellLanguage] || 40분 || [JollyJumpers/임인택2] ||
         || [허아영] || C++ || ? || [JollyJumpers/허아영] ||
         || [1002] || Python || 5분 || [JollyJumpers/1002] ||
  • JollyJumpers/신재동 . . . . 24 matches
         === JollyJumpers/신재동 ===
         ==== JollyJumper.java ====
         public class JollyJumper {
          public boolean isJollyJumper(Vector aList) {
          JollyJumper jollyJumper = new JollyJumper();
          jollyJumper.inputNumbers(list);
          if(jollyJumper.isJollyJumper(list))
          System.out.println("Jolly");
          System.out.println("Not jolly");
         ==== JollyJumperTest.java ====
         public class JollyJumperTest extends TestCase {
          public void testJollyJumper() {
          JollyJumper jollyJumper = new JollyJumper();
          assertEquals(true, jollyJumper.isJollyJumper(vec));
          JollyJumper jollyJumper = new JollyJumper();
          assertEquals(3, jollyJumper.getGap(vec, 0));
          assertEquals(6, jollyJumper.getGap(vec, 1));
          public void testJollyJumperTwo() {
          JollyJumper jollyJumper = new JollyJumper();
          assertEquals(true, jollyJumper.isJollyJumper(vec));
  • JollyJumpers/황재선 . . . . 22 matches
         === JollyJumpers.java ===
         public class JollyJumpers {
          public boolean isJolly() {
          JollyJumpers j = new JollyJumpers();
          if (j.isJolly()) v.add("Jolly");
          else v.add("Not jolly");
         === JollyJumpers.java ===
         public class JollyJumpers {
          public boolean isJolly(TreeSet set) {
          JollyJumpers j = new JollyJumpers();
          if (j.isJolly(set))
          list.add("Jolly");
          list.add("Not jolly");
         === TestJollyJumpers.java ===
         public class TestJollyJumpers extends TestCase {
          JollyJumpers j;
          j = new JollyJumpers();
          j = new JollyJumpers();
          public void testIsJolly() {
          assertEquals(false, j.isJolly(j.computeGaps()));
  • JollyJumpers/Leonardong . . . . 19 matches
         class JollyJumper:
          if self.checkJolly( aSet = self.getSetOfDiffence( aSeries[1:] ),
          return "Jolly"
          return "Not Jolly"
          def checkJolly( self, aSet, aN ):
          print JollyJumper().statementForSeries( seriesInt )
         class JollyJumperTestCase(unittest.TestCase):
          self.jj = JollyJumper()
          self.assertEquals("Jolly",
          self.assertEquals("Not Jolly",
          def testCheckJolly(self):
          self.jj.checkJolly(
          self.jj.checkJolly(
          self.assertEquals("Jolly", self.jj.statementForSeries( series ) )
          self.assertEquals("Jolly", self.jj.statementForSeries( series ) )
          self.assertEquals("Not Jolly", self.jj.statementForSeries( series ) )
          JollyJumper.run()
         처음에 리스트에 차를 집어넣은 후 정렬하려 했다가 집합 개념이 떠올라 그 쪽으로 해결했다. statementForSeries메서드 부분에 있던 CheckJolly메서드를 따로 테스트하면서 ExtractMethod를 하게 되었고, 차가 음수인 경우도 테스트를 통해 알게되었다. 보폭이 아직 좁지만 술술 진행한 문제이다.
         [JollyJumpers], [AOI]
  • JollyJumpers/문보창 . . . . 16 matches
         한개의 정수 1 n 이 들어와 있을경우 이것을 Jolly로 판단해야할까?
         // no10038 - Jolly Jumpers
         bool isJolly(int n);
         inline void showJolly(bool w) { w ? cout << "Jolly\n" : cout << "Not jolly\n"; }
          showJolly(true); // n이 1일 경우 Jully 이다. 왜 그럴까?
          isJolly(n) ? showJolly(true) : showJolly(false);
         bool isJolly(int n)
          bool bitJolly[MAX]; // bitJolly[0]은 사용하지 않는다.
          bitJolly[i] = 0;
          bitJolly[gap] = 1;
          if (!bitJolly[i])
         [JollyJumpers] [문보창]
  • ACM_ICPC/2011년스터디 . . . . 14 matches
          * jolly jumper : [JollyJumpers] (Problem no. 2575)
          * 네.. 이번주는 대략적인 것들을 결정하는 시간이었지요. Jolly Jumper를 제가 그냥 임의로 찍어서 문제로 하기로 해서, 5시 스터디가 끝나자마자 1시간동안 열심히 코딩해서 완성했습니다. ..그런데 Wrong Answer. 으아아ㅏ아아아아ㅏ 2시간동안 진경이랑 삽질하다 얻은 결론: 얘내들은 입출력방식이 달라서 우리가 짠 것만으로 되는게 아니고 계속 입력을 받도록 해야한다. 그리고 입력이 끝나면 프로그램이 종료되어야 하는데 뭐 -1?인가 그게 뜨도록 하려면 띄어쓰기같은 것도 없어야한다. ...결국 답은 대략 맞았지만 저런 형식때문에 2시간동안 고민한거죠. JollyJumpers하시는 형/누나들 참고하세요 ;ㅅ; ..아무튼 ACM스터디가 재밌게 잘 진행되었으면 좋겠어요~ -[김태진]
          * JollyJumpers Accept
          * 못 한 사람 : JollyJumpers 해오기
          * 한 사람 : 다른 언어 혹은 다른 방법으로 JollyJumpers 다시 짜오기
         [JollyJumpers/강소현]
         [JollyJumpers/김수경]
         [JollyJumpers/권순의]
         [JollyJumpers/김태진]
         [JollyJumpers/서지혜]
         [JollyJumpers/정진경]
         [JollyJumpers/정의정]
          * 제 코드에 무엇이 문제인지 깨달았습니다. 입출력이 문제가 아니었어요. 숫자 범위 괜히 0이거나 3000 이상이면 "Not jolly" 출력하고 break하니까 이후에 더 적은 숫자가 들어온 경우가 무시당해서 Wrong Answer(출력 하든 안하든, 0 제외하고 3000 이상일 때만 하든 다 Wrong..;ㅅ;) 입력을 하지 않을 때까지 계속 받아야 하는데, 임의로 끊었더니 그만..... 그리고 continue로 해도 마찬가지로 3000을 제외하고 입력 버퍼에 남아있던 것들이 이어서 들어가서 꼬이게 되는! Scanner을 비우는 거는 어찌 하는 걸까요오;ㅁ;? 쨋든 그냥 맘 편하게 조건 지우고 Accepted ㅋㅋ 보증금 및 지각비 관련 내용은 엑셀에 따로 저장하였습니다. - [강소현]
          * 저번주에 온 사람들은 이제 모두 JollyJumper를 해결한거 같네요. 이제 입출력에서는 좀 덜 틀리겠죠..-_-; 다음주 나이트의 여행은.. 전 뭔가 어렵지 않을까 생각은 들지마는 코드 길이도 길고, 시간도 오래걸리고, 메모리도 많이 먹는 코드를 짜면 괜찮지 않으려나 싶네요 --; 다음주는 시험기간 전이라 스터디를 할 지 안할지 다들 의견교환을 해봐야 할거같네요 -[김태진]
  • JollyJumpers/임인택 . . . . 14 matches
         public class JollyJumpers {
          return (count == size-1)?"Jolly":"NotJolly";
          JollyJumpers jj = new JollyJumpers();
          private JollyJumpers2 jj;
          jj = new JollyJumpers2();
          public void testJollyJumpers() {
          assertEquals("Jolly", jj.testify());
          assertEquals("NotJolly", jj.testify());
         public class JollyJumpers2 {
          return (offCnt==array.length-1)?"Jolly":"NotJolly";
         JollyJumpers
  • JollyJumpers/이승한 . . . . 11 matches
         = Jolly Jumpers/이승한 =
         int checkJolly(int * array, int differ, bool programEnd = 0);
          checkJolly( array, differ );
          checkJolly( array, differ, 1 );
         int checkJolly(int * array, int differ, bool programEnd){ //differ는 n-1의 값을 가진다.
          static bool boolJolly[10]={1,1,1,1,1,1,1,1,1,1}; //처리 결과를 저장하는 배열 기본값은 모두 jolly 이다.
          if( boolJolly[i] )cout<<"Jolly\n";
          else cout<<"Not jolly\n";
          //jolly jumper 판단
          boolJolly[ line ] = 0; // NOTjolly 임을 boolJolly배열에 저장
         [AOI] [JollyJumpers]
  • JollyJumpers/iruril . . . . 9 matches
         === JollyJumpers.java ===
         public class JollyJumpers {
          boolean jolly;
          public boolean checkJolly()
          jolly = true;
          jolly = false;
          if(jolly)
          System.out.println("Jolly");
          System.out.println("Not Jolly");
          return jolly;
          JollyJumpers jj = new JollyJumpers();
          jj.checkJolly();
         [JollyJumpers]
  • JollyJumpers/임인택2 . . . . 9 matches
         module JollyJumpers
         jollyJumpers numbers =
          if (jollySub ((head numbers)-1) (tail numbers) []) == (List.sortBy (flip compare) [1..((head numbers)-1)])
          then "Jolly"
          else "Not Jolly"
         jollySub 0 numbers result = result
         jollySub num numbers result =
          jollySub (num-1) (tail numbers) (result ++ [(abs ((head numbers)-(head (tail numbers))) )])
         JollyJumpers> jollyJumpers [4,1,4,2,3]
         "Jolly"
         JollyJumpers> jollyJumpers [5,1,4,2,-1,6]
         "Not Jolly"
         JollyJumpers>
         [JollyJumpers]
  • JollyJumpers/오승균 . . . . 8 matches
         = Jolly Jumpers =
         void check_possible (int max); // Jolly판단 자체가 가능한 수열인가 검사
         void check_Jolly (int max, int ar[]); // Jolly여부를 판단
          check_Jolly( total_num, array);
         void check_Jolly (int max, int ar[])
          cout << "*** Not Jolly ***" << endl;
          cout << "*** Jolly ***" << endl;
  • JollyJumpers/곽세환 . . . . 7 matches
         JollyJumpers 문제풀이
          bool isJolly;
          isJolly = true;
          isJolly = false;
          if (isJolly == true)
          cout << "Jolly\n";
          cout << "Not jolly\n";
         [JollyJumpers]
  • JollyJumpers/조현태 . . . . 7 matches
         == JollyJumpers/조현태 ==
         namespace JollyJumpers
          bool isJollyJumpers = true;
          isJollyJumpers = false;
          if (isJollyJumpers)
          System.Console.WriteLine("Jolly");
          System.Console.WriteLine("Not jolly");
         [JollyJumpers]
  • JollyJumpers/김회영 . . . . 4 matches
         = JollyJumpers =
         == {{{~cpp JollyJumpler.cpp}}} ==
          cout<<"It is Jolly Jumper!\n";
          cout<<"It isn't Jolly jumper!\n";
  • Jolly Jumpers/정진경 . . . . 3 matches
         #title Jolly Jumpers/정진경
         Describe [Jolly Jumpers/정진경] here
         n,a,b,k,c[3000];main(){for(;scanf("%d%d",&n,&a)+1;puts(k-1?"Not jolly":"Jolly"))for(memset(c,0,n*4),k=n;--n;a=b){scanf("%d",&b);a=abs(a-b);if(!c[a])c[a]=1,k--;}}
  • JollyJumpers/강소현 . . . . 3 matches
          if(isJolly(arr, size)){ //졸리점퍼 체크
          System.out.println("Jolly");
          System.out.println("Not jolly");
          public static boolean isJolly(int [] arr, int size){
          int [] jollyNum = new int [size];
          jollyNum[Math.abs(arr[i+1]-arr[i])]++;
          if(jollyNum[i] == 0)//1~n-1 중 하나라도 포함 안하면 not jolly
  • JollyJumpers/강희경 . . . . 3 matches
          cout << "JollyJumpers\n";
          그럼 2 2 3 10에서도 JollyJumper라고 인식하는 건가?? 그럼 완전 잘못된 거 아냐?? --재동
         [AOI] [JollyJumpers]
  • JollyJumpers/남훈 . . . . 3 matches
         def isJolly(seq):
          print 'Jolly'
          print 'Not jolly'
          displayDecision(isJolly(line))
  • JollyJumpers/임인택3 . . . . 3 matches
         -module(jolly).
         jolly([H|T]) ->
          jollyResult([H|T], lists:usort(jollySub(H, T, []))).
         jollyResult(Ori, Res) ->
          io:format("Jolly~n");
          io:format("Not Jolly~n")
         jollySub(H, [], Res) ->
         jollySub(H, [HH|T], Res) ->
          jollySub(HH, T, Res++[abs(H-HH)]).
         jollyInt() ->
          H -> jolly(H)
         > Pid = spawn(jolly:jollyInt/0).
         LittleAOI, JollyJumpers
  • JollyJumpers/허아영 . . . . 3 matches
          bool jolly = false;
          jolly = true;
          jolly = false;
          cout << "Jolly" << endl;
          else if (jolly)
          cout << "Jolly" << endl;
          cout << "Not jolly" << endl;
         [JollyJumpers]
  • ACM2008 . . . . 2 matches
         || 3 || [Jolly Jumpers] || [Jolly Jumpers/남훈] ||
  • Celfin's ACM training . . . . 2 matches
         || 21 || 2 || 110201/10038 || Jolly Jumpers || 30 mins || [JollyJumpers/Celfin] ||
  • JollyJumpers/Celfin . . . . 2 matches
          cout <<"Jolly"<<endl;
          cout <<"Not jolly"<<endl;
          cout <<"Jolly"<<endl;
  • JollyJumpers/김태진 . . . . 2 matches
         int jolly(int A[], int val, int B[]);
          printf("Jolly\n");
          result=jolly(a,val,b);
          if(result==val-2) printf("Jolly\n");
          else printf("Not jolly\n");
         int jolly(int A[], int val, int B[])
  • JollyJumpers/정진경 . . . . 2 matches
         Describe JollyJumpers/정진경 here
         c[3000];main(n,a,b,k){for(;scanf("%d%d",&n,&a)+1;puts(k-1?"Not jolly":"Jolly"))for(memset(c,0,n*4),k=n;--n;a=b)scanf("%d",&b),c[abs(a-b)]++?0:k--;}
  • AOI/2004 . . . . 1 match
          || [JollyJumpers] || O || O || O || O || O || O || O || O ||
  • JollyJumpers/서지혜 . . . . 1 match
          goto JOLLY;
          goto NOT_JOLLY;
          goto NOT_JOLLY;
          if(i==count-1) goto JOLLY;
          goto JOLLY;
         NOT_JOLLY:
          printf("Not jolly\n");
         JOLLY:
          printf("jolly\n");
          puts(F?"Jolly":"Not jolly");
  • 임다찬 . . . . 1 match
         나중에 [JollyJumpers] - dynamic programming 사용하나요???
Found 28 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.0151 sec