1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | // int[] nums = { 1, 2, 3, 4, 5 }; // 根据数组生成所有可能的子数组 // 此例为12345 1234 123 12 1 2345 234 23 2 345 34 3 45 4 5 static IList<ilist<int>> test3(int[] nums) { IList<ilist<int>> result = new List<ilist<int>>(); for (int i = 0; i < nums.Length; i++) { List<int> list = new List<int>(nums); for (int j = 0; j < i; j++) { list.RemoveAt(0); } for (int k = 0; k < list.Count; k++) { List<int> list2 = new List<int>(list); for (int l = 0; l < k; l++) { if (list2.Count > 0) list2.RemoveAt(list2.Count - 1); } result.Add(list2); } } return result; } // string mes = "{()[]}"; // 判断字符串内的各种括号是否符合规则 static bool test2(string mes) { List<char> list = new List<char>(); foreach (char c in mes) { if (c == '{' || c == '[' || c == '(') { list.Add(c); } else if (c == '}') { if (list.Last() != '{') return false; list.RemoveAt(list.Count - 1); } else if (c == ']') { if (list.Last() != '[') return false; list.RemoveAt(list.Count - 1); } else if (c == ')') { if (list.Last() != '(') return false; list.RemoveAt(list.Count - 1); } } return list.Count == 0; } // string[] mes = { "5", "-2", "4", "C", "D", "9", "+", "+" }; // 根据字符数据做运算 static int test1(string[] mes) { List<int> list = new List<int>(); foreach (string s in mes) { Console.WriteLine(s); if (s == "C") { if (list.Count > 0) list.RemoveAt(list.Count - 1); } else if (s == "D") { if (list.Count > 0) { int a = list.Last(); list.Add(a * 2); } } else if (s == "+") { if (list.Count > 1) { int a = list.Last(); int b = list[list.Count - 2]; list.Add(a + b); } } else { list.Add(int.Parse(s)); } } return list.Sum(); } |
医学知识
肺炎支原体
支原体没有细胞壁,所以青霉素类、头孢类对它作用不大
首选大环内酯类抗生素,如阿奇霉素,但阿奇有耐药性
喹诺酮类
喹诺酮类和其他抗菌药的作用点不同,它们以细菌的脱氧核糖核酸(DNA)为靶。
细菌的双股DNA扭曲成为袢状或螺旋状(称为超螺旋),使DNA形成超螺旋的酶称为DNA回旋酶,
喹诺酮类妨碍此种酶,进一步造成细菌DNA的不可逆损害,而使细菌细胞不再分裂
社区获得性肺炎(CAP)
左氧是三代,莫西是四代
成人 CAP 最常见致病菌是肺炎链球菌与肺炎支原体(MP)。
目前氟喹诺酮类对 MP 100% 敏感,但是左氧对肺链的作用有限,
而莫西沙星真正可以做到全覆盖,所以推荐莫西沙星为门诊及住院 CAP 的单药抗感染方案,并没有推荐左氧。
尿路感染
左氧 87% 以原型自尿液中排出,所以左氧可以用于复杂性与非复杂性尿路感染;
但是莫西主要在肝脏中代谢,在尿液中的浓度比较低,因此对于复杂性尿路感染就不堪重任了。
其实尿路感染不太推荐使用喹诺酮类,原因是喹诺酮类易于耐药,
尿路感染经验性抗感染治疗一般是首选头孢类等其它抗菌药物。
罗技无线鼠标G304 lightspeed电池使用问题
11月6号电池没电了,换了【超霸高性能碳性电池】,用了大概十天后,偶尔出现卡住不动的情况,关闭开关再打开后恢复正常。最近几天频繁出现,无奈今天换了南孚聚能环3七号,用用看看吧。初步怀疑是超霸电池的问题。