题解列表

筛选

编写题解 1159: 偶数求和

摘要:解题思路:分奇偶情况讨论注意事项:输出次数的计算参考代码:#include<iostream>using namespace std;int main(){    int n, m;    while……

tom问题 (C语言解法)

摘要:#include<stdio.h>int main(){    long n,sum;    while(scanf("%ld",&n)!=EOF)    {        sum=0;     ……

[归并排序]数组法(c++)

摘要:解题思路:先分别将两个数组各自排序,再使用归并排序注意事项:参考代码:#include <iostream>using namespace std;int main() { int n, m, t; ……

利润计算--java

摘要:解题思路:利润 小于等于100000  100000 * 0.1利润大于100000小于等于200000100000 * 0.1+i(-100000) * 0.075利润大于200000 小于等于40……

编写题解 1223: 敲七游戏

摘要:解题思路:注意事项:参考代码:s = int(input()) count = 0 for i in range(1,s+1):     if i%7==0 or &#39;7&#39; in ……