题解列表

筛选

数字整除java优化

摘要: /** * 问题描述: * 定理:把一个至少两位的正整数的个位数字去掉,再从余下的数中减去个位数的5倍。当且仅当差是17的倍数时,原数也是17的倍数 。 * ……

1855: 输出字符'A'个数

摘要:解题思路:注意事项:参考代码:#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) {……

用栈解决这个问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<math.h>#define maxsize 101typedef struct{……