题解列表

筛选

作为第一个题解我很荣幸

摘要:解题思路:利用getline可以正常输入空格注意事项:注意i和i-1参考代码:c++:#include <bits/stdc++.h>using namespace std;/*inline int ……

作为第二个题解我也很荣幸哦嘻嘻

摘要:解题思路:gets输入字符串,然后通过比较注意事项:300+300,我直接1000,啥也不怕参考代码:#include#includeint main() {    char s[1000];    ……

A+B for Input-Output Practice (V)(怀氏c++)

摘要:解题思路:注意事项:注意给的数字,从头之后都是1+2+3+4+。。。。+head;用for循环累加即可参考代码:  #include <iostream>using namespace std;int……

级数求和解题思路及代码

摘要:解题思路:利用while进行循环,当出现t使得Sk>k时,跳出循环并输出最小的n.注意事项:参考代码:#include <stdio.h>#include <math.h>#include <stdi……