# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
254056 |
2020-07-29T09:32:39 Z |
ne4eHbKa |
Pot (COCI15_pot) |
Python 3 |
|
31 ms |
3308 KB |
x = 0
for i in range(int(input())):
a = input()
x += int(a[:-1]) ** int(a[-1])
print(x)
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
19 ms |
3300 KB |
Output is correct |
2 |
Correct |
21 ms |
3308 KB |
Output is correct |
3 |
Correct |
20 ms |
3308 KB |
Output is correct |
4 |
Correct |
22 ms |
3308 KB |
Output is correct |
5 |
Correct |
20 ms |
3308 KB |
Output is correct |
6 |
Correct |
20 ms |
3308 KB |
Output is correct |
7 |
Correct |
31 ms |
3292 KB |
Output is correct |
8 |
Correct |
20 ms |
3308 KB |
Output is correct |
9 |
Correct |
19 ms |
3308 KB |
Output is correct |
10 |
Correct |
19 ms |
3304 KB |
Output is correct |