题解列表

筛选

简单的字符串

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){       int n=0;    scanf("%d",&n);    g……

面向过程编程

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int arr[10] = {0};//初始化Apples的高度……

利用指针遍历大量数据提高效率

摘要:解题思路:利用指针遍历大量数据提高效率                memset 赋初值注意事项:参考代码:#include<iostream>#include<cstring>using name……

利用指针遍历得到答案

摘要:解题思路:循环输入数据,利用指针遍历,然后寻找最大值,记录位置注意事项:参考代码:#include<iostream>using namespace std;int main(){    int n;……

编写题解 2808: 买房子

摘要:解题思路:注意事项:参考代码:N, K = map(int, input().split()) money = N price = 200 for i in range(2, 23):    ……