题解列表

筛选

2842: 大整数减法

摘要:解题思路:            drr[k]+=10;            drr[k+1]--;.//核心注意事项:参考代码:#include<stdio.h>#include<string.h……

2841: 大整数加法(超详细解答)

摘要:解题思路:写了很久,要注意前导0和十进制的运算注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    char arr[201]={&#……

不使用二维数组进行求解

摘要:解题思路:因为是矩形,所以只要得到长和宽的数据,就可以求得其内的面积,同时无需关注每一位数字在图形中的位置,只要得到在1 1 1 1 1 1 0 0 0 1 1 0 1 0 1 1 0 0 0 1 1……

与7无关的数

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

2821: 开关灯

摘要:解题思路:注意事项:参考代码:#include <stdio.h>    int main()    {        int n, m, i, j,t=0;         int a[5001] ……

1332: 津津的储蓄计划

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int i,sum=0,a[100],t,k,num;    for(i=0;i<12;i++)    {……