题解列表

筛选

小O的溢出 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int book[1000]={0},max=0,h;void dfs(int a[],int n,int t){    int i; ……

新手发表课后习题8.2 (C语言代码)

摘要:解题思路:调用 math.h 函数库 使用求根公式注意事项:算delta时注意运算优先级、输出x1,x2时保留小数参考代码:#include<stdio.h>#include<math.h>void ……

不容易系列2 (Java代码)

摘要:解题思路:注意事项:参考代码:public class 不容易系列2 { //满足条件的计数器 public static int count = 0;  /**  * 全排列算法 ……

去掉空格 (C++代码)

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

发工资咯 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int a[6]={100,50,10,5,2,1}; int main() {……

回文串 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> using namespace std; const int M=255+5; char……