시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
5 초 512 MB 152 111 104 85.246%

문제

블리트릭스라는 양은 더 빨리 잠을 들기 위한 전략을 세웠다.

먼저, 숫자 N을 뽑는다. 그리고 N, 2 × N, 3 × N 등을 떠올린다. 숫자를 떠올릴 때 마다, 그 숫자의 모든 자리수의 숫자들을 적어놓는데, 이미 적은 숫자는 또 적지 않는다. 0에서 9까지의 모든 숫자가 적히게 되면 잠이 든다.

블리트릭스는 N에서 시작해서 i × N 후에는 (i + 1) × N을 떠올리게 된다. 예를 들어 N = 1692 일 경우, 다음 과 같이 진행된다:

  • N = 1692. 1, 2, 6, 9가 기록된다.
  • 2N = 3384. 1, 2, 3, 4, 6, 8, 9가 기록된다.
  • 3N = 5076. 모든 수가 기록되고, 잠에 빠진다.

블리트릭스가 잠에 빠지는 수는 무엇인가? 영원히 잠에 들 수 없다면 INSOMNIA라고 출력하라.

입력

첫번째 행은 케이스의 개수, T이다. 다음 행부터는 T개의 케이스들이 나온다. 각 케이스는 블리트릭스가 고른 하나의 숫자 N으로 구성된다.

제한

  • 1 ≤ T ≤ 100.
  • 0 ≤ N ≤ 200.

출력

각 케이스에 대해서, 케이스 번호가 x이고 y가 정답일 때, Case #x: y라고 출력해야 한다.

예제 입력 1

4
0
1
2
11

예제 출력 1

Case #1: INSOMNIA
Case #2: 10
Case #3: 90
Case #4: 110

힌트

예제 입출력 1번에 대해서, 2 × 0 = 0, 3 × 0 = 0 등등으로 이어지므로, 블리트릭스는 0외에는 다른 숫자를 기록할 수 없을 것이며, 따라서 영원히 잠에 들 수 없다.

예제 입출력 2번의 경우, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 순으로 떠올릴 것이며, 0이 가장 마지막에 기록되는 수가 될 것이다. 따라서 10이 마지막 수가 될 것이다.

예제 입출력 3번의 경우, 2, 4, 6... 등등으로 떠올릴 것이다. 숫자 9는 90 전에는 기록할 수 없다. 90을 떠올렸을 때 이미 블리트릭스는 0~8의 숫자를 적었을 것이므로, 90이 마지막 수가 될 것이다.

예제 입출력 4번은 블리트릭스가 11, 22, 33, 44, 55, 66, 77, 88, 99, 110 을 떠올릴 것이고, 110이 마지막 수가 될 것이다.

W3sicHJvYmxlbV9pZCI6IjE0MzgxIiwicHJvYmxlbV9sYW5nIjoiMCIsInRpdGxlIjoiXHVjMjJiXHVjNzkwXHVjMTM4XHViMjk0IFx1YzU5MSAoU21hbGwpIiwiZGVzY3JpcHRpb24iOiI8cCBkaXI9XCJsdHJcIj5cdWJlMTRcdWI5YWNcdWQyYjhcdWI5YWRcdWMyYTRcdWI3N2NcdWIyOTQgXHVjNTkxXHVjNzQwIFx1YjM1NCBcdWJlNjhcdWI5YWMgXHVjN2EwXHVjNzQ0IFx1YjRlNFx1YWUzMCBcdWM3MDRcdWQ1NWMgXHVjODA0XHViN2I1XHVjNzQ0IFx1YzEzOFx1YzZlMFx1YjJlNC48XC9wPlxyXG5cclxuPHAgZGlyPVwibHRyXCI+XHViYTNjXHVjODAwLCBcdWMyMmJcdWM3OTAgTlx1Yzc0NCBcdWJmNTFcdWIyOTRcdWIyZTQuIFx1YWRmOFx1YjlhY1x1YWNlMCBOLCAyICZ0aW1lczsgTiwgMyAmdGltZXM7IE4gXHViNGYxXHVjNzQ0IFx1YjVhMFx1YzYyY1x1YjliMFx1YjJlNC4gXHVjMjJiXHVjNzkwXHViOTdjIFx1YjVhMFx1YzYyY1x1YjliNCBcdWI1NGMgXHViOWM4XHViMmU0LCBcdWFkZjggXHVjMjJiXHVjNzkwXHVjNzU4IFx1YmFhOFx1YjRlMCBcdWM3OTBcdWI5YWNcdWMyMThcdWM3NTggXHVjMjJiXHVjNzkwXHViNGU0XHVjNzQ0IFx1YzgwMVx1YzViNFx1YjE5M1x1YjI5NFx1YjM3MCwgXHVjNzc0XHViYmY4IFx1YzgwMVx1Yzc0MCBcdWMyMmJcdWM3OTBcdWIyOTQgXHViNjEwIFx1YzgwMVx1YzljMCBcdWM1NGFcdWIyOTRcdWIyZTQ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> Google Code Jam 2016 > Qualification Round A1번

  • 문제의 오타를 찾은 사람: jh05013

채점

  • 예제는 채점하지 않는다.