琪露诺的编程教室(C++代码) 摘要:解题思路:早在霜月的月初之时,妖怪山地下实验室就已经开始进行版本更新的准备了。由于更新内容较多,并不能很快完成,所以期待尽快更新的玩家们可能要暂时失望了。今天我来到吃土乡地下文本组取材,偶然听说他们已…… 题解列表 2017年12月16日 0 点赞 0 评论 2148 浏览 评分:0.0
邪修xxxxxxxxxxxxxxxx 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; &nb…… 题解列表 2025年11月06日 0 点赞 0 评论 93 浏览 评分:0.0
宏定义之闰年判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define LEAP_YEAR(y) (y%4==0&&am…… 题解列表 2025年04月16日 0 点赞 0 评论 391 浏览 评分:0.0
C++简单写法-------------------------------------- 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;bool is_leap(int year){ if (…… 题解列表 2025年03月21日 0 点赞 0 评论 269 浏览 评分:0.0
宏定义之闰年判断 摘要:解题思路:要求解此题,首先需要直到如何判断闰年当能被4整除但不能被100整除的是闰年,或者能被100和400整除的是闰年注意事项:需知道定义红宏时,若后面的条件成立则此时会返回1,不成立则返回0参考代…… 题解列表 2024年01月21日 0 点赞 0 评论 547 浏览 评分:0.0
编写题解 1039: 宏定义之闰年判断 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;#define LEAP_YEAR(y) if(y%4==0&&y%100!=…… 题解列表 2023年03月16日 0 点赞 0 评论 276 浏览 评分:0.0
定义宏,判断是否为闰年 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#define LEAP_YEAR(y) y%100 ==0 && y%4 ==0 && y…… 题解列表 2022年10月26日 0 点赞 0 评论 278 浏览 评分:0.0
宏定义之闰年判断 摘要: #include #include #include using namespace std; #define LEAP_YEAR(y) fun(y);…… 题解列表 2022年10月12日 0 点赞 0 评论 281 浏览 评分:0.0
[编程入门]宏定义之闰年判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n;int main(){ cin>>n; if(n%10…… 题解列表 2022年05月07日 0 点赞 0 评论 307 浏览 评分:0.0