출처

https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=3&contestProbId=AXO72aaqPrcDFAXS&categoryId=AXO72aaqPrcDFAXS&categoryType=CODE&problemTitle=&orderBy=PASS_RATE&selectCodeLang=PYTHON&select-1=3&pageSize=10&pageIndex=2

과정

  1. a,b까지의 i중에 먼저 i가 팰린드롬 수 인지 판별 한다.
  2. 루트 i가 정수화 한 루트i와 같고 팰린드롬 수 이다면 cnt에 1을 더한다
  3. 테스트케이스 번호와 cnt를 출력해준다.

정답 코드

태그: ,

카테고리:

업데이트: