题解列表

筛选

编写题解 1073: 弟弟的作业

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>         //atio函数,将字符串转换为数字.#include<string.h>    ……

1072: 汽水瓶(简单易懂)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int n,sum;    while (cin >> n)  ……

循环的嵌套 处理 输入与输出

摘要:解题思路:通过两层循环达到输入二维数组以及输出二维数组的效果,从而达到二维数组转置的效果。注意事项:在使用printf输出时,注意目标所需要的效果,即space,换行。参考代码:#include <s……

编写题解 2794: 求平均年龄

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int n,sum=0;    cin>>n;   ……