题解列表

筛选

C语言解决pell问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>long long a[1000001] = {}, b[1000001];  //声明储存输出和输入的数组int n, i, j, k……

C++ 字符串比较(简洁 ——易懂)

#//利用strcmp函数##//用法:intn=strcmp(a,b);###//strcmp函数说是返回的是1,-1,0,它不是真的是1,-1,0;###//只是表示是正,负,零;#include#includeusingnamespacestd;intmain(){chara[1005],

1855: 输出字符&#039;A&#039;个数

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

1856: 最小三个数

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

1859: 与2无关的数

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; bool func(int i); ……

1864: 数日子

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; int main() {    ……

1865: 换硬币

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; int func(int n) {……