题解列表

筛选

while循环求解

摘要:解题思路:求每一位数的3次方的和注意事项:由于输入的数被/10了3次,所有最后在比对的时候用的是一开始赋值的b参考代码:#include "stdio.h"#include "math.h"int m……

[递归]母牛的故事

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;  int main () {    int cow[56] = {0,1,2,3,……

1096: Minesweeper

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#define MAX 100 // 地图最大尺寸 using namespace std; char position[M……

1098: 陶陶摘苹果

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; const int apple = 10; // 苹果数量int main() {……

经典背包问题

摘要:import java.io.*; public class Main { static BufferedReader bf=new BufferedReader(new InputStre……

1099: 校门外的树

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    char L[10001]={0};    int a……

Jam的计数法

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long LL;namespace IO{    inli……