E D R , A S I H C RSS

BackLinks search for "k"

BackLinks of k


Search BackLinks only
Display context of search results
Case-sensitive searching
  • 2학기파이선스터디/ 튜플, 사전
         - 매핑형에서는 키(key)를 이용해 값(value)에 접근하다.
         >>> dic['dictionary'] = '1. A reference book containing an alphabetical list of words, ...'
         >>> dic['python'] = 'Any of various nonvenomous snakes of the family Pythonidae, ...'
         '1. A reference book containing an alphabetical list of words, ...'
         >>> member = {'basketball' :5, 'soccer':11, 'baseball':9}
          {'soccer' : 11, 'volleyball' : 7 'baseball' : 9 , 'basketball' : 5}
         >>> del member['basketball'] # 항목 삭제
         1. D.keys() : 사전에서 키들을 리스트로 리턴
         3. D.items() : (key, value) 리스트로 리턴
         4. D.has_key(key) : 멤버십 테스트. D가 key를 가지고 있는가 검사. 있으면 참(1), 없으면 거짓(0)을 리턴.
          key in D 와 같다.
         >>> phone = {'jack': 232412, 'jim':1111, 'Joseph' : 234632}
         >>> phone['jack'] = 1234
         {'jack': 1234, 'jim':1111, 'Joseph' : 234632}
         {'jack': 1234, 'jim':1111, 'Joseph' : 234632}
         {'jack': 1234, 'jim':1111, 'Joseph' : 234632, 'babo' : 5324}
         {'jack': 1234, 'jim':1111, 'Joseph' : 234632}
         7. D.get(key , x) : 값이 존재하면 D[key] 즉 값을 리턴, 아니면 x를 리턴
         8. D.setdefalut(key , x) : get 과 같으나 값이 존재하지 않을 때 값을 설정 (D[key] = x)
         9. D.update(b) : for k in b.keys(): D[k]=b[k] 즉, 사전 b의 아이템들을 D에 추가시킨다.
  • 2학기파이선스터디/문자열
          1. 인덱싱(Indexing) = [k]
         >>> s = 'i like programing'
         'I LIKE PROGRAMING'
         'i like programing'
         'I like programing' # 첫 문자를 대문자로
         >>> s = 'i like programing, i like swimming'
         >>> s.count('like')
         >>> s.find('like')
         >>> s.rfind('like')
         >>> s.index('like')
         Traceback (most recent call last):
  • Chopsticks/문보창
         가장 큰 젓가락 세트부터 선택한다고 보았을 때, 총 K + 8 번의 선택이 존재하고, 다음 점화식이 나올 수 있다.
         {{| D[a][n-3a+2 ~ (k+9-a)*2] = (L(i) - L(i-1))^2 + min<sub>i+2<=k</sub>{ D[a-1][k] } |}}
         위에서 a 는 각 선택, n 은 젓가락 수, k 는 사람 수. 여기서
         {{| min<sub>i+2<=k</sub>{ D[a-1][k] } |}}은 앞의 계산 결과를 이용하여 O(1) 시간만에 계산 할 수 있고, a 는 K + 8 번 있으므로 O(kn) 복잡도가 걸린다.
         // 10271 - Chopsticks
         #define MAX_STICK 5003
         static int nPerson, nStick; // 손님수, 젓가락 수
         static int stick[MAX_STICK+1]; // 젓가락
         static int d[2][MAX_STICK+1]; // 다이나믹 테이블
          int x = stick[i] - stick[i-1];
         inline int findMin(int k, int x, int n)
          int min = d[k][x];
          if (min > d[k][i])
          min = d[k][i];
          cin >> nPerson >> nStick;
          for (int i = 1; i <= nStick; i++)
          cin >> stick[i];
          for (int i = nStick - 1; i >= (nPerson + 8) * 2; i--)
          d[1][nStick] = MAX_NUM;
          i = nStick - 3 * seti + 2;
  • TAOCP/BasicConcepts
          x0 = x 이고 xk + 1 = f(xk) (k >= 0)
         Ω에 속하는 xk 에 대하여 k가 가장 작은 정수라면 계산수열은 k단계에서 종료된다고 한다. 그리고 이 경우에 x로부터 결과 xk가 생성된다고 한다.
          B1. 모든 1≤k≤n에 대해서 T[k] ← k. 오른쪽부터 읽을 준비를 한다.
          메모리를 많이 쓰면 쉽게 해결( Y[X[k]] ← k )
  • TAOCP/InformationStructures
         Sequential Allocation은 stack을 다루는데 편리하다.
         여기서 i번째 스택에서 오버플로우가 생기면 메모리 재배치(repack memory)를 할 수 있다. 몇가지 방법이 있는데 지금부터 자세히 알아보자.
          i<k≤n인 k 가운데 TOP[k] < BASE[k+1]인 가장 '''작은''' k를 찾는다. 찾으면 TOP[k] ≥ L>BASE[i+1]인 L에 대해서 다음을 한다.
          그리고 마지막으로 i보다 크고 k보다 크지 않은 모든 BASE와 TOP을 하나씩 위로 민다.
          b) ''''아래로 한칸씩 밀기(moving things down)''' a)에 해당하는 k가 없을 경우
          i≤k<n인 k 가운데 TOP[k] < BASE[k+1]인 가장 '''큰''' k를 찾는다. 찾으면 TOP[i] ≥ L>BASE[k+1]인 L에 대해서 다음을 한다.
          그리고 마지막으로 k보다 크고 i보다 크지 않은 모든 BASE와 TOP을 하나씩 아래로 민다.
  • 김재현
          unsigned char j,k,n, used[MAX];
          for (k=0; k < MAX; k++) //질문거리~(등호..)
          used[k]=0;
          for (k=0; k < COUNT; k++) { //질문
          break;
  • 랜웍/이진훈
          break;
          for (int k = 0;k<3;k++)
          cout << pan[i][k];
          int k = 0;
          k++;
          return k;
  • 새싹교실/2012/AClass/2회차
          int k=0;
          int blank;
          for(blank=scan; blank>i;blank--)
          break;
          break;
          break;
          break;
          break;
          int j,k,sum;
          for(k=0;k<3;k++) // 열
          sum=sum+x[j][k];
          int i, j, k;
          for(k=1 ; k<i+1 ; k++){
          int i, j, k, n;
          for(k=0 ; k<2*i+1 ; k++){
          break;
          break;
          break;
          break;
          break;
  • 새싹교실/2012/AClass/3회차
         1~5.www.koistudy.net 코이스터디 100번~104번까지 Accept받기(등업이 안되어 있으면 그 문제의 소스를 저한테 보내주세요)
         stu.name ="kim so ri";
          int i,j,k=1;
          ptr[i][j] = k;
          k++;
         int stack[MaxSize];
         printf("Stack Overflow\n");
         printf("Stack Underflow\n");
         stack[sp]=n;
         *n=stack[sp];
         1~5.www.koistudy.net 코이스터디 100번~104번까지 Accept받기(등업이 안되어 있으면 그 문제의 소스를 저한테 보내주세요)
          int a[4][4],b[4][4],c[4][4],d[4][4]={0},i,j,k,l;
          for(k=0; k<4; k++)
          for(k=0; k<4; l++)
          d[i][j] += a[i][j]*b[k][j]*c[k][l]; <<<이부분 어떻게 해야할지 잘 모르겠어요
          int i, j, k=1;
          arr[i][j] = k++;
          arr[i][j] = k++;
  • 새싹교실/2022/Java보시던지/05.05
          for(int k=j;k<count-1;k++) {
          list[k] = list[k+1];
  • 스터디/Nand 2 Tetris
          * Hack Machine language를 사용해서 프로그램을 작성해 봄.
          * I/O Handling, (권영기)(BLACK을 입력하면 네모가 화면에 나오고, WHITE를 입력하면 화면의 네모를 지움)
          * I/O Handling, (김윤환)(BLACK을 입력하면 네모가 화면에 나오고, WHITE를 입력하면 화면의 네모를 지움)
          * The Hack Computer
          Screen: 512 rows by 256 columns, black and white
          Keyboard: standard
          instruction = ROM32K[address]
          k = address
          out = RAM[k]
          k = address
          RAM[k] = x
          Keyboard(memory map)
          Keyboard를 위한 RAM 어딘가를 할당해놓음. 이 공간은 Keyboard를 위한 공간. CPU는 그 공간을 읽어서 어떤 key가 들어왔는지 확인.
  • 오바마 협박글
         Do you know about Obama threats in South Korea?
         You never know what has happened in South Korea.
         A South Korean youth was arrested on suspicion of intimidating President Obama and threatening to kill Ambassador Lippert in 2015.
         For the politically inspired news leaks, police and prosecutors made him open to public criticism.
         South Korean journalists reproached him by revealing a distinctive hysteria of hatred and repulsion to disregard human rights of this man.
         During the trial toward guilty, attorneys and judges make up for the police and prosecutor's groundless and inconsistent investigation reports with modifications and complements.
         After about a year and two months of trial, the South Korean court sentenced him to 18 months in jail for allegedly attempting to threaten the US president because of fermenting the diplomatic troubles.
         He continued to make innocent claims, so he suffered hunger in solitary confinement during his imprisonment, harassed by jailers, and received unusual medicinal treatments in a psychiatric hospital.
         The corrupt doctors in a back-scratching alliance with jail injected unknown drugs to produce confession from him.
         South Koreans who numbed humanity forced him to commit suicide in order to close the case. For the first time in his life, he was greatly disappointed by the human nature.
         About two and a half years later, the second trial is ongoing. The court has failed to make a ruling on the appeal, and has still extended his ban on leaving the country.
         The South Korean government will soon be choose the method of sentencing guilty, soothe the US government's anger, and conceal the torture and medication.
         If you keep the interest on this case, reveal the truth and remember him, he can get a fair trial in South Korea.
         I think there is no other way to help him better than this.
         Attach the news article that reported the case and the detailed document according to one likes.
         Unfortunately, I cannot respond to your inquiries because of South Korea's Internet censorship, intelligence tracking and monitoring by Korean National Police Agency Cyber Bureau (an intelligence service).
         Sounds crazy, but I have caught evidence of a huge conspiracy of the South Korean government under the pretext of investigating the Obama threat for other purposes from the beginning.
         In addition, I analyzed that the South Korean government is in perplexity by the request for strong punishment that the US government was seriously upset since it did not initially expect that it would react seriously.
         I am worried about whether to reveal more sensitive documents or to take them to the grave, if so I promise to change the sender and send it to you once more.
         Thank you for reading.
Found 12 matching pages out of 7540 total pages

You can also click here to search title.

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