题解列表

筛选

最大子矩阵

摘要:解题思路:二维前缀和注意事项:参考代码:#include<iostream> #include<algorithm>  #include<utility> using namespace std……

2915: 接水问题(极简)

摘要:解题思路:依次将同学安排到消耗时间最短的水龙头, 最后输出消耗时间最多的水龙头所花费的时间注意事项:参考代码:#include#include#include#includeusing namespa……

C语言训练-8除不尽的数

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    cout<<"1993";    return 0;}……

编写题解 2764: 带余除法

摘要:解题思路:注意事项:除数不能为0&#39;//&#39;为取整除,得到商的整数部分(向下取整)参考代码:a,b=map(int,input().split())while b!=0:    print……

题解 2794: 求平均年龄

摘要:解题思路:套个循环……注意事项:别抄我的,抄我的人我诅咒他电脑立刻关机参考代码:#include<bits/stdc++.h>#include<windows.h>using namespace st……

题解 2829: 数1的个数

摘要:解题思路:额……自己理解,学了循环的应该都会吧,我不解释了\^w^/。注意事项:别抄我的,抄我的人我诅咒他电脑10秒关机参考代码:#include<bits/stdc++.h>#include<win……

短信计费C小白解

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