1278: [NOIP2008]传纸条 摘要:```cpp #include using namespace std; int n,m,a[52][52],f[52][52][52][52]; namespace qaq { …… 题解列表 2023年04月04日 0 点赞 0 评论 494 浏览 评分:9.9
大模拟题,使用结构体和sort以及闰年判断 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<algorithm> using namespace std; stru…… 题解列表 2023年04月04日 0 点赞 0 评论 319 浏览 评分:9.9
用辗转相除法也可以算,菜鸟运算 摘要:参考代码#include<stdio.h>int main(){int a,b;int t,c;scanf("%d %d",&a,&b);int i,j;i=a,j=b;while(b!=0){ t=…… 题解列表 2023年04月04日 0 点赞 0 评论 347 浏览 评分:9.9
小明A+B之不会百位以上加减却会自动取余的人类幼崽(难绷) 摘要:解题思路:直接取余100就是了注意事项:对于限制输入次数的用while(n--)就完事了参考代码:#include <iostream> using namespace std; int main…… 题解列表 2023年04月04日 0 点赞 0 评论 300 浏览 评分:0.0
模拟即可,掌握n进制转十进制,十进制转n进制 摘要:解题思路:注意事项:参考代码:def check(n,k):#N进制转十进制 ans=0 pro=1#进制 while n!=0: ans+=n%10*pro …… 题解列表 2023年04月04日 0 点赞 0 评论 337 浏览 评分:0.0
结构体之时间设计 摘要: ```c #include int main() { int year,month,day,days=0; scanf("%d%d%d",&year,&month,&day…… 题解列表 2023年04月04日 0 点赞 0 评论 320 浏览 评分:0.0
蓝桥杯2014年第五届真题-Log大侠 摘要:解题思路:注意事项:参考代码:from math import*n,m = map(int,input().split())L = list(map(int,input().split()))for …… 题解列表 2023年04月04日 0 点赞 0 评论 261 浏览 评分:0.0
自定义函数之整数处理 摘要: ```c #include void swap(int *a,int *b) { int t; t=*a; *a=*b; *b=t; } int main() {…… 题解列表 2023年04月04日 0 点赞 0 评论 349 浏览 评分:0.0
蓝桥杯算法训练VIP-黑色星期五 摘要:解题思路:注意事项:参考代码:from datetime import*n = int(input())s = 0for i in range(1,13): a = date(n,i,13) …… 题解列表 2023年04月04日 0 点赞 0 评论 415 浏览 评分:0.0
蓝桥杯算法训练VIP-集合运算 摘要:解题思路:注意事项:参考代码:n = int(input())L1 = list(map(int,input().split()))L1.sort()m = int(input())L2 = list…… 题解列表 2023年04月04日 0 点赞 0 评论 312 浏览 评分:0.0