Logo
(追記) (追記ここまで)

9356번 - Skill 다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 128 MB2201188955.625%

문제

Yasser is an Egyptian coach; he will be organizing a training camp in Jordan. At the end of camp, Yasser was quite amazed that the participants solved all of the hard problems he had prepared; so he decided to give them one last challenge:

Print the number of integers having N digits where the digits form a non decreasing sequence.

입력

Input will start with T ≤ 100 number of test cases. Each test case consists of a single line having integer N where 1 ≤ N ≤ 100000.

출력

For each test case print on a separate line the number of valid sequences modulo 1000000007.

제한

예제 입력 1

3
2
3
4

예제 출력 1

55
220
715

힌트

출처

ICPC > Regionals > Africa and Arab > Arab Collegiate Programming Contest > ACM Jordanian Collegiate Programming Contest > JCPC 2012 H번

  • 문제의 오타를 찾은 사람: entropy
(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /