1039

#include<iostream>
#include<string>
#include<map>
#include<vector>
#include<algorithm>
using namespace std;
int main()
{
	map<string, vector<int>> S;
	int n, k;
	cin >> n >> k;
	for (int i = 0; i < k; i++)
	{
		int course, num;
		cin >> course >> num;
		for (int j = 0; j < num; j++)
		{
			string name;
			char name2[10];
			scanf("%s", name2);
			name = name2;
			/*name.resize(4);
			scanf("%s", &name[0]);*/
			S[name].push_back(course);
		}
	}
	/*for (auto const& p : S)
	{
	cout << p.first << ' '<<p.second.size();
	for (auto iter = p.second.begin(); iter != p.second.end(); iter++)
	{
	cout << ' ' << *iter;
	}
	cout << endl;
	}*/
	int t = n;
	while (t--)
	{
		string name;
		char name2[10];
		scanf("%s", name2);
		name = name2;
		/*name.resize(4);
		scanf("%s", &name[0]);*/
		sort(S[name].begin(), S[name].end());
		cout << name << ' ' << S[name].size();
		if (S[name].size())
		{
			for (auto iter = S[name].begin(); iter != S[name].end(); iter++)
			{
				cout << ' ' << *iter;
			}
		}
		cout << endl;


	}
	system("pause");
	return 0;
}
04-02
### 关于 LT1039 的数据表、功能、特性和应用电路 #### 数据表概述 LT1039 是一款由 Linear Technology(现为 Analog Devices 子公司)生产的低噪声线性稳压器。其主要特点是能够在宽输入电压范围内提供稳定的输出电压,同时具备较低的静态电流和出色的负载瞬态响应能力[^2]。 #### 主要功能与特性 以下是 LT1039 的一些关键技术特点: - **宽输入电压范围**:支持从 2V 到 20V 的输入电压范围,使其能够适应多种电源环境[^2]。 - **高精度输出调节**:具有 ±2% 的典型输出电压精度,在各种工作条件下保持稳定性能[^2]。 - **低功耗设计**:典型的接地引脚电流仅为 4mA,适合电池供电设备和其他对能效敏感的应用场景[^2]。 - **快速负载瞬态响应**:通过优化内部架构实现更快的动态调整速度,从而减少输出电压波动[^2]。 - **过热保护机制**:内置温度补偿电路可防止器件因过度发热而损坏,提高系统的可靠性[^2]。 #### 应用电路实例 下面展示了一个基于 LT1039 的简单降压型稳压器电路图: ```circuitikz \begin{circuitikz}[scale=1.5] \draw (0,0) to[battery,l=$V_{in}$] (0,2); % 输入电压源 \draw (0,2) -- (2,2); \node[anchor=south] at (1,2){$R_1$}; \draw (2,2) node[op amp](opamp){} ++(0,-1) coordinate(vout); \draw (vout) |- ($(opamp.-)$) -- ($(opamp.+)-(0,.5)$)--++(-.5,0)|-(vout); \draw (opamp.out) -- +(0.5,0)coordinate(opout); \draw (opout)to[R,l=$R_L$,i>^=$I_o$]++(0,-2)-|(vout); \draw (opout)to[L,l=$L_1$,*-*]++(2,0)coordinate(cpoint); \draw (cpoint)to[C,l=$C_1$,*-*]++(0,-2)-|($(cpoint)+(0,-2)$)--(vout); \node[right]at(cpoint)[right]{Output:$V_{out}$}; \end{circuitikz} ``` 此电路利用了 LT1039 的反馈控制环路来维持恒定的输出电压 $ V_{out} $ 。其中电感 $ L_1 $ 和电容 $ C_1 $ 组成滤波网络以平滑开关动作引起的纹波;电阻分压器 $ R_1 $ 及其他元件则用于设定目标输出值并监测实际状态以便及时校正偏差[^2]。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值