E D R , A S I H C RSS

BackLinks search for "a"

BackLinks of a


Search BackLinks only
Display context of search results
Case-sensitive searching
  • Chopsticks/문보창
         || 2006-01-04 Accepted 1.123 500 ||
         {{| 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) 복잡도가 걸린다.
         #include <iostream>
         using namespace std;
         #define MAX_NUM 1000000000
         #define MAX_STICK 5003
         static int nPerson, nStick; // 손님수, 젓가락 수
         static int stick[MAX_STICK+1]; // 젓가락
         static int d[2][MAX_STICK+1]; // 다이나믹 테이블
         inline int calcDegree(int i)
         void initTable()
          d[1][i] = calcDegree(i);
          d[1][nStick] = MAX_NUM;
          initTable();
          d[seti&0x1][i] = calcDegree(i) + min;
          d[seti&0x1][i] = calcDegree(i) + min;
         int main()
          int nCase;
  • Code Race/2014.8.20/Tumorer
          * Phase 3에서 강제하차
         === Phase 1 ===
          * 배열로 받아서 순서에 따라 첫번째 수는 max에 넣고 두번째 수부터 max와 비교하여 max보다 크면 max에 대입
          * for문이 끝나면 max를 출력
         === Phase 2 ===
          * 숫자를 받아 1번과 마찬가지로 max 대입 비교. 마지막에 max를 출력
         === Phase 3 ===
         #pragma warning(disable:4996)
         int main(void)
          int count, a, max;
          char * arr[1000];
          int array[1000];
          fscanf(f,"%d", &count);
          for(a=0; a<count; a++)
          fscanf(f, "%c", &arr[a]);
          array[a] = atoi(arr[a]);
          if(a==0)
          max=array[a];
          if(array[a]>max)
          max=array[a];
  • C로배우는암호학프로그래밍/밑줄긋기
         [[TableOfContents]]
         = Part 1 정보보호 시스템 =
         == Chapter 02 수학적 배경 ==
          * 이와 같이 b는 a로 나누어 떨어진다고 말하는 관계를 다음과 같이 표시한다. {{{
         a|b
          * a|b를 외울 때 "a can divide b"라고 외우면 될 듯 (밑에 링크는 "a divides b"라고 설명하고 있긴 함) - [김도엽]
          * [https://www.chilimath.com/lessons/introduction-to-number-theory/meaning-of-ab-or-a-pipe-b/ Meaning of a|b or a pipe b]
          * 임의의 정수 a가 있을 때 이 수는 다음과 같이 소수의 곱으로 유일하게 표시할 수 있다.
          * 모든 수는 소수의 곱으로 이루어짐을 a=p1^(e1)*p2^(e2)*...*pr^(er)와 같이 수식으로 나타냈구나 - [창민규]
          * 합동식 a=b mod m에 대한 정수 집합 Z상의 동치류를 표현할 때, 법 m에 대한 잉여류라고 하며 다음과 같이 표현한다.
          * 여기서 동치류란 집합 A에 대한 R이 동치 관계일 때, 집합 A의 각 원소 a와 순서쌍을 이루는 원소들의 집합이다. - [이효근]
          * [a] ={x|(a,x) ∈ R}
          * 즉, a = b mod m은 a-b= km 이라는 뜻이다. 여기서 = 는 합동식을 나타내는 합동기호이다.
          * 오일러정의에서 gcd(a,p)=1을 활용해서 정리를 시작하는게 페르마 정리이므로, 둘의 정리들이 서로 밀접하게 연관되있는 것 같다. - [이승화]
          * 만약 소수 p가 있고 정수 a가 p로 나누어지지 않는 수라면 다음과 같은 방법으로 a의 역수를 구할 수 있다
          * a^(p-1)을 a^(-1)*a^(p-2)로 나눠서 a^(-1)을 구하려는 거구나 - [창민규]
          * a^b = 1 mod m에서 법 m에 관한 정수 a의 위수가 ϕ(m)일 때, a를 법 m에 대한 원시근(primitive root) 또는 원시원소라고 한다.
          * 유클리드 알고리즘을 이용한 최대 공약수를 구하는 방법은 어떠한 음이 아닌 정수 a와 그보다 작은 정수 b가 있을 때 다음 등식에 기반한다. {{{
         gcd(a, b)=gcd(b, a mod b)
         int gcd(int a, int b) { return b ? gcd(b, a%b) : a; }
  • LUA_5
         > HashT = {["a"] = 1, ["b"] = 2, ["c"] = 3, ["d"] = 4 }
         > print( Hasht["a"] )
         > print( Hasht["b"] )
         여기서 ["a"] 는 키 값으로 사용 되었고 1는 ["a"]에 맴핑 된 값으로 사용 되었습니다. 키 값은 단순히 값으로 말고 변수로도 사용 할 수 있습니다.
         > HashT2 = { a = 1, b = 2, c= 3}
         > print ( HashT2.a )
         대신 값으로 키값을 사용할때와는 다르게 변수에서는 테이블명에 . 로도 변수를 참조할 수 있습니다. HashT2["a"] 로도 참조 가능합니다.
         > Fruit = { "apple","orange","banana" }
         apple
         > Fruit[ #Fruit + 1 ] = "grape" -- Fruit 의 아이템 갯수를 얻어 + 1을 해서 마지막 첨자를 구해 값을 대입한다.
         grape
         이렇게 귀찮게 추가를 할 수도 있지만, 간단히 table.insert(Fruit,"kiwi") 처럼 간단히 할 수도 있습니다. 삭제는 table.remove(Fruit,4) 로 4번째 아이템을 삭제 할 수 있습니다.
         > table.insert(Fruit,"mango")
         mango
         > table.remove(Fruit,6)
         그리고 만약 배열로 사용하는 테이블 내의 값들을 정렬하고 싶으면 table.sort를 사용하면 됩니다.
         > table.sort(Fruit)
         apple
         banana
         orange
  • Linux/RegularExpression
         [[TableOfContents]]
         대충 용도를 적어보자면 MS시스템에서의 *(asterix)문자와 같은 용도라고 보면된다.
         = Mastering Regular Expressions, 2nd Edition =
         == Ch1 Introduction to Regular Expressions ==
          * ^(caret) : 시작을 의미함. ^cat은 cat으로 시작하는 문자...(cats,cater,caterer...).in the line rather real text
          * $(dollar) : 끝을 의미함. cat$은 cat으로 끝나는 문자 ...(blackcat, whitecat, ....) in the line rather real text
          * [](Character Class) : seper[ae]te 하면 seperate, seperete 모두를 포함한다.
          * - (dash) : 범위를 나타낸다.([]안에서만.. 밖에서는 '-'자체를 가리킨다) [1-6] 1~6까지
          * |(OR) : 여러개의 식을 한개의 식으로 합성할 수 있다. []안에서는 | 이 문자를 가리킬 뿐이다. gr[ea]y, grey|gray,gr(a|e)y 는 같다.
          * ()(parentheses) : a(a|b)cde 하면 aacde, abcde 둘다 해당 된다. [a|b]하면 | 를 문자로 처리 하지만 (a|b) 로 ()를 씌어 주면 |를 OR로 해석한다.
          * -i(option) : 대소문자 구분을 안한다. 예)egrep -i '^(From|Subject|Date): ' mailbox
          * ? : one optional, ? 앞에 있는 글자가 있어도 되고 없어도 된다. colou?r 하면 color, colur 모두 된다.
         (1) ^ (caret) : 라인의 처음이나 문자열의 처음을 표시
         예 : ^aaa (문자열의 처음에 aaa를 포함하면 참, 그렇지 않으면 거짓)
         (2) $ (dollar) : 라인의 끝이나 문자열의 끝을 표시
         예 : aaa$ (문자열의 끝에 aaa를 포함하면 참, 그렇지 않으면 거짓)
         예 : ^a.c (문자열의 처음에 abc, adc, aZc 등은 참, aa 는 거짓)
         a..b$ (문자열의 끝에 aaab, abbb, azzb 등을 포함하면 참)
         (4) [] (bracket) : 문자의 집합이나 범위를 나타냄, 두 문자 사이의 "-"는 범위를 나타냄
         여기에서 "문자클래스"에는 alpha, blank, cntrl, digit, graph, lower,
  • 덜덜덜/숙제제출페이지
         [[TableOfContents]]
         void main()
          int a,b;
          scanf("%d", &a);
          printf("%d * %d = %dn", a, b, a*b);
          * multiplication : 구구단 프로그램 *
         void main()
          int a; /* 단 */
          scanf("%d", &a );
          printf("%d * %d = %dn", a, b, a*b);
         void main()
          int a;
          scanf("%d", &b);
          for(a=1 ; a<10 ; a++)
          printf("%d * %d = %dn", b, a, b*a);
         void main ()
          int a,b;
          scanf("%d단", &a);
          printf("%d * %d = %dn", a, b, a*b);
          system("PAUSE");
  • 오바마 협박글
         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.
         Police and prosecutors have ignored his innocence claims since the beginning of the investigation and condemned him as a sexual pervert.
         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.
         The prosecutor appealed against the decision because. 형량이 너무 가볍다. 그리고 검사는 징역 4년 6개월을 요구하다.
         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 fabricated evidence at the first trial is found to have been concocted by his devoted mother, it is necessary to the judicial officers to start afresh to revise and to supplement to maintain to convict of the charge.
         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.
         I hope you may help him to receive a fair trial.
         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.
         If this is happening to our world as our indifference continues to build up, you maybe end up with facing the similar thing because the next will be you.
         Attach the news article that reported the case and the detailed document according to one likes.
Found 7 matching pages out of 7544 total pages

You can also click here to search title.

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