摘要:#include "stdafx.h" #include <iostream> #include <string.h> using namespace std; int main() { int n; scanf("%d", &n); int i, j, hour[2], second[2], mi
阅读全文
摘要:#include "stdafx.h" #include <iostream> #include <string.h> using namespace std; int main() { char a[110]; gets(a); int sum = 0, i, len = strlen(a); f
阅读全文
摘要:#include "stdafx.h" #include <iostream> #include <queue> using namespace std; vector<int> v[110]; queue<int> q; int vis[110], first = 1; void bfs() {
阅读全文
摘要:#include "stdafx.h" #include <iostream> #include <vector> using namespace std; struct node { int next, length; }; vector<node> v[510]; int team[510],
阅读全文
摘要:#include "stdafx.h" #include <iostream> #include <map> using namespace std; int main() { int n1; scanf("%d", &n1); map<int, double> id; int i, a; doub
阅读全文
摘要:#include "stdafx.h" #include <iostream> #include <algorithm> #include <queue> #include <stdlib.h> #include <string.h> using namespace std; int main()
阅读全文