import math
n=int(input())
l=[]
c=0
for i in range(n):
l.append(list(map(str,input().split())))
for j in range(n):
for k in range(n):
if l[j][k]=='D':
c+=1
print(math.floor(math.sqrt(c)))
Time complexity program maximum time limit is 1 sec
time for this code is 2 sec please decrease the time for 1 sec
Answers
Answered by
1
Answer:
sorry but I didn't understand your questions please tell me
hope you will tell me thankyou
Similar questions