摘要: #include //n 的第i位替换为m的第i位 using namespace std; int bitManipulation1(int n, int m, int i) { return ((m>>i)&1) == 1? (n|(1> t; while (t--) { cin >> n >> m >> i; cout ... 阅读全文
posted @ 2018-03-05 13:56 Latticeeee 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 输入函数用法总结:http://blog.csdn.net/JIEJINQUANIL/article/details/50802902 阅读全文
posted @ 2018-03-05 13:16 Latticeeee 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 知识点:类成员函数的定义 getline的用法#include #include #include #include #include #include using namespace std; class Student { char name[20]; int age; char c; int number; double g... 阅读全文
posted @ 2018-03-05 13:12 Latticeeee 阅读(124) 评论(0) 推荐(0) 编辑