题解列表

筛选

Hello, world!(怀氏c++)

摘要:解题思路:把数字转换成ASCI码值,就是对应的char类型值注意事项:参考代码:#include<iostream>using namespace std;int main(){    int a; ……

作为第一个题解我很荣幸

摘要:解题思路:利用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……