题解列表

筛选

循环找公因数和公倍数

摘要:解题思路:inline 为内联函数注意事项:参考代码:#include<iostream>using namespace std;inline int find_max(int a,int b){  ……

转置嘛,就是互换行列呗

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int arr[3][3];    int *p = &arr[……

利用指针解决字符数组

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){    string str;    g……

混子代码你值得拥有!

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    char arr[4] = {0};    for(int i ……

指针遍历,分类记录

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){    string str;    g……

结构体之成绩记录(java类)

摘要:多的不说,直接上代码import java.util.Scanner;  class Grade{     int oneSub;     int twoSub;     int thre……