Новые задачи!
This commit is contained in:
1 parent
426cbe6861
commit
07b1c4e0e1
3 files changed
+123
No files matched your search
@@ -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