题解列表
容易理解的C++代码外加两大模版(日期问题)
摘要:解题思路:先导入数据;然后遍历1960~2059的每一天;在遍历时判断是否符合条件;结束时return0;注意事项:这道题可以延伸两大模版:一:万能模版#include<……
题解 1850: 判断第几天
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c[13]={0,31,28,31,30,31,30,3……
题解 2004: 统计成绩//////
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ long long b[1000],bu=0; ……
肺雾解法(规律通过deepseek找到)
摘要:解题思路:我这个代码有问题一点点问题,但是能得满分我也不知道为什么,当输入1的时候,是不会输出A。就是找到规律进行交换,当我看到第一眼的时候,我没找到规律,肺雾了,然后试试了最新的deepseek 帮……
编写题解 2975: 1的个数
摘要:**A little easy...****Code****代码:**```cpp#include#includeusing namespace std;int n;v……
不使用数组,利用getchar函数进行解题
摘要:#######includeint main(){ int a=0,b=0,c=0,d=0; char ch; while((ch=getchar())!='\n') { ……