(带解析)[编程入门]宏定义之闰年判断 摘要:此题目的带参宏定义基本格式: define leap_year(y) (条件)?(符合条件输出):(不满足条件输出) ```c #include #define leap_year(y) …… 题解列表 2023年04月05日 0 点赞 0 评论 458 浏览 评分:9.0
一眼顶真,纯纯的nt题,注意加空行就行了 摘要:解题思路:纯纯的nt题,注意加空行就行了注意事项:参考代码:#include<iostream> using namespace std; int main(){ int a,n; c…… 题解列表 2023年04月05日 0 点赞 0 评论 461 浏览 评分:0.0
[编程入门]宏定义练习之三角形面积_C++超简单版!!! 摘要:C++输出三位有效数字需要```cpp #include ```头文件 //其基本格式为 cout b >> c; cout …… 题解列表 2023年04月05日 0 点赞 0 评论 429 浏览 评分:8.0
程序员爬楼梯——递归 摘要:解题思路:注意事项:参考代码:def pa(n): if n == 1 or n == 2: return 1 elif n == 3: return 2 …… 题解列表 2023年04月05日 0 点赞 0 评论 543 浏览 评分:9.9
区间中最大的数 摘要:解题思路:注意事项:参考代码:n = int(input())L = list(map(int,input().split()))m = int(input())for i in range(m): …… 题解列表 2023年04月05日 0 点赞 0 评论 508 浏览 评分:0.0
蓝桥杯2022年第十三届省赛真题-重复的数 摘要:解题思路:离线处理(若一边读一边实时处理则为在线处理),分块思想。注意事项:不要超时参考代码:#include <iostream> #include <vector> #include <set…… 题解列表 2023年04月05日 2 点赞 0 评论 906 浏览 评分:9.9
与2无关的数——python 摘要:解题思路:注意事项:参考代码:def bxg(n): if '2' in str(n) or n%2 == 0: return 0 else: …… 题解列表 2023年04月05日 0 点赞 0 评论 414 浏览 评分:0.0
谁是你的潜在朋友 摘要:解题思路:注意事项:参考代码:while True: try: n,m = map(int,input().split()) L = [int(input()) fo…… 题解列表 2023年04月05日 0 点赞 0 评论 339 浏览 评分:0.0
字符串连接——python 摘要:解题思路:注意事项:参考代码:while True: try: a,b = map(str,input().split()) print(a+b) except…… 题解列表 2023年04月05日 0 点赞 0 评论 384 浏览 评分:0.0
后缀子串排序——python 摘要:解题思路:注意事项:参考代码:while True: try: L = input() L2 = [] for i in range(len(L)): …… 题解列表 2023年04月05日 0 点赞 0 评论 405 浏览 评分:0.0