题解列表

筛选

水题目,只需一个bool

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;bool is_leap(int y){ return y%4 == 0 && y % 100……

简简单单无脑列举

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;void GetReal(float x){ cout << x << endl;}void ……

c++语言解决电报加密

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstdio>#include<string.h>using namespace std;void get(char……

指针数组法(直接翻译题意)

摘要:解题思路:将题干中出现的数字的英文单词对应储存在数组中,再对应输出注意事项:参考代码:#include<stdio.h>int main(){ char *a[60]={"zero","one","t……

成绩(c语言)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){     int a,b,c,s;     scanf("%d%d%d",&a,&b,&c);     s=a*0……

一直不习惯用while,这次解出来啦

摘要:解题思路:用while语句,if判断语句,奇数的判断方法语句余数不为零即可注意事项:别忘了题目给的数字范围哦参考代码:#include "stdio.h"int main(){ int m,n; in……