- 博客(5)
- 收藏
- 关注
原创 CCE to REG bundle
1. PDCCH资源单位是CCE,一个PDCCH由多少个CCE组成由聚合登记(Aggregation,L)决定 2.CCE是PDCCH的逻辑资源,需要映射到CORESET上的物理资源才能传输。具体可参考链接5G 交织
2022-02-28 10:46:49 363
原创 字符串转整数
#include<bits/stdc++.h> using namespace std; int my_atoi(const char* str) { bool sign = false; int total = 0, i = 0; if(str[0] == '-') { sign = true; i=1; } while(str[i]...
2021-08-26 11:46:56 81
原创 C++实现 [PAT B-1028]人口普查
#include<bits/stdc++.h> using namespace std; using gg=long long; typedef struct Person { string name; gg y,m,d; Person(gg yy, gg mm, gg dd, string n = ""):y(yy), m(mm),d(dd),name(n){} bool operator<(const Person &am...
2021-08-26 11:46:00 150
原创 C++ 函数对象类
#include<bits/stdc++.h> using namespace std; class CAbs { public: CAbs(int i = 0):m_i(i>0?i:-i){} int operator()(int i){return i>0?i:-i;} int print_m_i(){cout<<m_i<<"\n";} ...
2021-08-26 11:39:14 88
原创 C++实现 [PAT B1009]说反话
#include<bits/stdc++.h> using namespace std; int main() { string str; vector<string> vec; getline(cin, str); auto iter = str.begin(); while(iter!=str.end()) { string::iterator te...
2021-08-26 11:35:36 157
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人