摘要: 1 #define HTONL(n) (((((unsigned long)(n) & 0xFF)) << 24) | ((((unsigned long)(n) & 0xFF00)) << 8) | ((((unsigned long)(n) & 0xFF0000)) >> 8) | ((((unsigned long)(n) & 0xFF000000)) >> 24)) 2 #define H 阅读全文
posted @ 2019-10-14 11:21 冷眼旁观你的泪 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 1 #include<bits/stdc++.h> 2 using namespace std; 3 int main() 4 { 5 int n; 6 scanf("%d", &n); 7 8 vector<int> vec(n); 9 for (int i = 0; i < n; i++)scanf("%d", &vec[i]); 10 unordered_set<int> s; 11 12 阅读全文
posted @ 2019-10-14 11:17 冷眼旁观你的泪 阅读(200) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; int main() { int n,m,k; cin >> n >> m >> k; int a[n][m]; for(int i = 0;i < n;++i) for(int j = 0;j < m; ++j) { cin >> a[i][j]; } int x ; int col = m - 1; in 阅读全文
posted @ 2019-10-14 10:06 冷眼旁观你的泪 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 1 CString CmuchbyteDlg::GetChinese(int size,CString &str) 2 { 3 4 DWORD dBufSize = MultiByteToWideChar(CP_ACP, 0, str, str.GetLength(), NULL, 0); 5 6 wchar_t * dBuf=new wchar_t[dBufSize]; 7 //初始化 8 wm 阅读全文
posted @ 2019-10-14 09:31 冷眼旁观你的泪 阅读(369) 评论(0) 推荐(0) 编辑