链接http://acm.swust.edu.cn/problem/0027/
多面体欧拉定理http://baike.baidu.com/view/1597961.htm
#include <stdio.h> int main() { int vertex,edge; while(~scanf("%d %d",&vertex,&edge)) { printf("%d\n",vertex-edge+2); } return 0; }
链接http://acm.swust.edu.cn/problem/0027/
多面体欧拉定理http://baike.baidu.com/view/1597961.htm
#include <stdio.h> int main() { int vertex,edge; while(~scanf("%d %d",&vertex,&edge)) { printf("%d\n",vertex-edge+2); } return 0; }
转载于:https://www.cnblogs.com/niconiconi/p/5710797.html