代码搜索:XY图

找到约 10,000 项符合「XY图」的源代码

代码结果 10,000
www.eeworm.com/read/407780/11410880

txt 图的着色问题 回溯法.txt

#include #include #include using namespace std; //图的着色问题 回溯法 /* 输入: 5 7 3 0 1 0 2 1 2 1 3 1 4 2 4 3 4 输出: 1 1 2 3 1 3 */ int path[10][10]={0}; in
www.eeworm.com/read/407553/11416031

cpp 2154 二部图概念.cpp

#include"iostream" using namespace std; int main() { int k;__int64 n; cin>>k; for(int i = 0;i < k;i++) { scanf("%I64d",&n); if(n%2) printf("%I64d\n",(n-1)*(n-1)/4); else printf("%I64d