摘要:
1 #include 2 #include 3 int a[10000]; 4 int max1=0, n=0; 5 int first = 0; 6 using namespace std; 7 8 void bijiao() 9 { 10 int i; 11 for (i=1;i=1) 14 { 15 n++; ... 阅读全文
posted @ 2017-06-24 18:46
aowu~
阅读(186)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 #include 5 6 int a[100000], b[100000], c[100000]; 7 int panduan=0; 8 int ff=0; 9 using namespace std; 10 11 void bijiao(int gps, int x, int n) 12 { 1... 阅读全文
posted @ 2017-06-24 18:45
aowu~
阅读(237)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 #define MAX 1001 5 int a[MAX][MAX]; 6 int visited[MAX]; 7 int n, m, k; 8 9 using namespace std; 10 11 int dfs(int x) 12 { 13 visited[x]=1; 14 ... 阅读全文
posted @ 2017-06-24 18:43
aowu~
阅读(144)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 #include 5 6 using namespace std; 7 struct oi{ 8 string name; 9 int h1, m1, j1; 10 int h2, m2, j2; 11 }; 12 int bijiao1(oi x, oi y) 13 { 1... 阅读全文
posted @ 2017-06-24 18:41
aowu~
阅读(256)
评论(0)
推荐(0)
摘要:
1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 #include <cstdlib> 5 #include <algorithm> 6 7 using namespace std; 8 typedef long lon 阅读全文
posted @ 2017-06-24 18:39
aowu~
阅读(118)
评论(0)
推荐(0)