解题思路:
注意事项:
参考代码:
b = [] s = 0 n = int(input()) for i in range(0,n): l = list(map(int,input().split())) if l[0] >= 90 and l[0] <= 140 and l[1] >= 60 and l[1] <= 90: s += 1 if i == n-1: b.append(s) else: b.append(s) s = 0 print(max(b))
0.0分
0 人评分
求圆的面积 (C语言代码)浏览:1267 |
A+B for Input-Output Practice (V) (C语言代码)浏览:617 |
简单的for循环浏览:1408 |
1157题解浏览:711 |
A+B for Input-Output Practice (C语言代码)浏览:458 |
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码)浏览:667 |
C语言训练-亲密数 (C语言描述,反正怎么都能对)浏览:2155 |
复数求和 (C语言代码)浏览:916 |
盐水的故事 (C语言代码)浏览:1524 |
快速排序算法1浏览:877 |