Новые задачи!
This commit is contained in:
8
uts/uts_17_aut_py/3/G.py
Normal file
8
uts/uts_17_aut_py/3/G.py
Normal file
@@ -0,0 +1,8 @@
|
||||
n = int(input()) # Unfinished
|
||||
mas = input().split()
|
||||
cnt = 0
|
||||
for i in range(n):
|
||||
curstr = str(*mas[:n] + mas[n:])
|
||||
if curstr == curstr[::-1]:
|
||||
cnt += 1
|
||||
print(cnt)
|
||||
Reference in New Issue
Block a user