摘要: 小明在旅游的路上看到了一条美丽的河,河上有许多船只,有的船只向左航行,有的船只向右航 小明希望拍下这一美丽的风景,并且把尽可能多的船只都完整地拍到一张照片中。 小明位于河的边上,并且可以在河边的任意位置进行拍照,照相机的视野恰好为90度角,只能以 于河边的方向进行拍照。河上的船只全都可看作是平行于河 阅读全文
posted @ 2021-10-06 15:44 木窗 阅读(81) 评论(0) 推荐(0)
摘要: 1 #include<stdio.h> 2 #include<string.h> 3 #define M 7 4 int ans; 5 int rx[]={0,1,0,-1}; 6 int ry[]={1,0,-1,0}; 7 bool check(int n,int m,int mp[M][M]) 阅读全文
posted @ 2021-10-06 15:41 木窗 阅读(72) 评论(0) 推荐(0)
摘要: //读入fu #include <bits/stdc++.h> using namespace std; stack<int> n; stack<char> op; int main() { //freopen("expr.in","r",stdin); int x,y,i,j,tmp; long 阅读全文
posted @ 2021-10-05 12:01 木窗 阅读(474) 评论(0) 推荐(0)