摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
#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 阅读全文
摘要:
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 阅读全文