解题思路:
注意事项:
参考代码:
n=int(input()) c=[list(map(int,input().split())) for _ in range(n)] x,y=map(int,input().split()) re=-1 for i in range(len(c)): if c[i][0]<=x and c[i][0]+c[i][2]>=x and c[i][1]<=y and c[i][1]+c[i][3]>=y: re=i+1 print(re)
0.0分
0 人评分
汽水瓶 (C语言代码)浏览:610 |
C二级辅导-进制转换 (C语言代码)浏览:615 |
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码)浏览:541 |
淘淘的名单 (C语言代码)答案错误???浏览:595 |
【排队买票】 (C语言代码)浏览:900 |
WU-蓝桥杯算法提高VIP-交换Easy (C++代码)浏览:1119 |
妹子杀手的故事 (C语言代码)浏览:1054 |
字符串比较 (C语言代码)浏览:685 |
C二级辅导-等差数列 (C语言代码)浏览:771 |
求圆的面积 (C语言代码)浏览:657 |