acgo题库
  • 首页
  • 题库
  • 题单
  • 竞赛
  • 讨论
  • 排行
  • 团队
  • 备赛专区

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
登录
注册
题目详情题解(0)讨论(0)提交记录(0)
  • 离谱回来了,快进来吧

    黄标真是离谱妈妈给离谱开门

    userId_undefined

    MuktorFM

    出道萌新时间刺客时空双修者荣耀黄金CSP-S二等奖出题人
    44阅读
    1回复
    1点赞
  • python题解

    r=input().split(' ') b=int(r[0]) c=int(r[1])+1 a=int(r[2]) days=[0,31,28,31,30,31,30,31,31,30,31,30,31] if a%4000 or a%40 and a%100!=0: days[2]+=1 if c>days[b]: c=1 b=b%12+1 if b==1: a+=1 print(str(b)+'/'+str(c)+'/'+str(a))

    userId_undefined

    神

    24阅读
    1回复
    1点赞
  • 要题解come here

    题解 请多多关照 题解如下: #include<bits/stdc++.h> using namespace std; bool leap(int n){ if((n%40 && n%100!=0) || n%4000){ return 1; }else{ return 0; } } int main(){ int a,b,c; cin>>a>>b>>c; b=b+1; if(a2){ if(b29){ if(!leap(c)){ b=1; a+=1; } }else if(b>29){ a+=1; b=1; } }else if(a>=1&&a<=7&&a%21){ if(b32){ b=1; a+=1; } }else if(a>=8&&a<=12&&a%20){ if(b32){ b=1; a+=1; } }else if(b31){ b=1; a+=1; } if(a13){ a=1; c+=1; } cout<<a<<'/'<<b<<'/'<<c; } 加油

    userId_undefined

    七(5)班 王奕龙

    倔强青铜
    18阅读
    0回复
    0点赞
  • 题解

    userId_undefined

    天之神_复仇者_小小夏

    出道萌新循环·循环打卡人倔强青铜I/O·IO入门者字符串·魔法使数组·数组操作员
    11阅读
    0回复
    0点赞
  • tj

    #include<iostream> using namespace std; int a[]{0,31,28,31,30,31,30,31,31,30,31,30,31}; int b[]{0,31,29,31,30,31,30,31,31,30,31,30,31}; int main(){ bool run=false; int x,y,z; cin>>x>>y>>z; if(z%100!=0&&z%40||z%4000)run=true; if(run){ }

    userId_undefined

    人机猫

    7月全勤卷王时空双修者数组·数组操作员倔强青铜模拟·模拟练习生字符串·魔法使
    0阅读
    0回复
    0点赞
首页