- 博客(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关注的人