readme.txt
来自「并行程序设计示例之三」· 文本 代码 · 共 24 行
TXT
24 行
编译:mpicc intersect.c –o intersect运行:可以使用命令 mpirun –np SIZE intersect来运行该串匹配程序,其中SIZE是所使用的处理器个数,本实例中使用了SIZE=3个处理器。 mpirun –np 3 intersect运行结果:输入: please input first polygonplease input the count of vetex:3please input the vertex3 22 54 3please input second polygonplease input the count of vetex:6please input the vertex0 11 -11 -26 25 41 4输出:两多边形相交说明:输入顶点的(x,y)坐标时中间用空格隔开。
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?