解题思路:
注意事项:
参考代码:
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语言代码)浏览:885 |
C语言程序设计教程(第三版)课后习题1.5 (C语言代码)浏览:635 |
简单的a+b (C语言代码)浏览:682 |
wu-理财计划 (C++代码)浏览:831 |
WU-链表数据求和操作 (C++代码)浏览:1313 |
WU-C语言程序设计教程(第三版)课后习题11.12 (C++代码)(想学链表的小伙伴可以看看)浏览:900 |
The 3n + 1 problem (C语言代码)浏览:548 |
C语言程序设计教程(第三版)课后习题5.4 (C语言代码)浏览:780 |
整除的尾数 (C语言代码)浏览:810 |
C语言训练-字符串正反连接 (C语言代码)浏览:629 |