自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 灵动ICPC冬令营基础-5

灵动ICPC冬令营基础-5A - BrainmanBackgroundRaymond Babbitt drives his brother Charlie mad. Recently Raymond counted 246 toothpicks spilled all over the floor in an instant just by glancing at them. And he can even count Poker cards. Charlie would love to be abl

2021-01-22 23:33:13 223

原创 2021-01-21

灵动ICPC冬令营基础-4A - Necklace#include<cstdio>int main(){ double Vt,V0; while(~scanf("%lf%lf",&Vt,&V0)&&Vt&&V0){ if(V0>=Vt) printf("0\n"); else if(Vt<=2*V0) printf("1\n"); else { if(Vt/(2*V0)-(int)(Vt/(2*V0))==0

2021-01-22 00:28:18 215

原创 2021-01-20

灵动ICPC冬令营基础-3A - Birthday CakeLucy and Lily are twins. Today is their birthday.Mother buys a birthday cake for them. Now we putthe cake onto a Descartes coordinate. Its center is at(0, 0), and the cake’s length of radius is 100.There are 2N (N is a i

2021-01-21 00:23:24 269

原创 2021-01-19

灵动ICPC冬令营基础-2A - Maya Calendar#include<cstdio>#include<cstring>char a[20][10]={"pop","no","zip","zotz","tzec","xul","yoxkin","mol","chen","yax","zac","ceh","mac","kankin","muan","pax","koyab","cumhu","uayet"};char b[20][10]={"imix","ik","a

2021-01-20 00:13:56 202

原创 2021-01-18

@[toc]灵动ICPC冬令营基础-1A - Specialized Four-Digit Numbers#include<stdio.h>int Calc(int base , int n){ int m=0; while(n){ m = m + n % base; n /= base; } return m;}int main(){ int i; for(i=1000;i<10000;i++){ if(Calc(10,i)==Calc(16,i)&

2021-01-19 00:30:48 111

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除