← Back to List
11772번: POT ↗
Solutions
Python 3
90 B | 90 chars
S = 0 for i in range(int(input())): a = int(input()) S += (a//10)**(a%10) print(S)