题解列表

筛选

不懂可以问(不过其实本人很垃圾)

摘要:解题思路:输入的信息怎么才能与70产生联系注意事项:当n==70和n!=70时参考代码:#include<stdio.h>int f(int n)//把70与n的关系扯清了{ if(n%70==0) ……

26行代码暴力解决-C语言

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() {     int arr[6][6];     int n = 0;     int i,j;  ……

2772:苹果与虫子

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,x,y;  scanf("%d%d%d",&n,&x,&y); if(y%x==0)   prin……

津津的储蓄计划(一个while解法)

摘要:解题思路:注意事项:参考代码:#includeint main(){ int n,m=0,a=12,x=0;//m表示每个月剩下的钱,n表示每个月的预算花费,x表示给妈妈的钱 while(a--) {……

3074: 计算(calc)

摘要:参考代码: ```cpp #include using namespace std; stacknum;//存储数字 stackch;//存储字符 string str;//定义字符串 ……

编写题解:数的读法【Python】

摘要:解题思路:每四位分开读,具体见代码和注释参考代码:d = {&#39;1&#39;:&#39;yi&#39;, &#39;2&#39;:&#39;er&#39;, &#39;3&#39;:&#39;s……