| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 83809 | 胡海峰老师 | 图像相似度 | Python3 | Accepted | 46 MS | 3940 KB | 341 | 2024-07-14 22:37:01 |
""" 3 3 1 0 1 0 0 1 1 1 0 1 1 0 0 0 1 0 0 1 """ row,col = map(int,input().split()) a= [input().split() for x in range(row)] b= [input().split() for x in range(row)] cnt = 0 for x in range(row): for y in range(col): if a[x][y] == b[x][y]: cnt +=1 res = cnt/(row*col) * 100 print("{:.2f}".format(res))