
Lv.1
落叶循着风的痕迹,踏着秋天,来到你面前。
签名:正在写小说《文明》(鸽子中.ing) ———————————————— 论为什么六边形不到我怀中……
在 《文明》评论区临时的 中回复
大家好imgsrc="https://static.codemao.cn/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E5%97%A8%E8%B5%B7%E6%9D%A5.gif"alt="emotion_编程猫_嗨起来"
2022-09-25T09:33:51 点赞:0
在 【评论区】《比人类低级的文明》 中回复
唉,作者你的小说最起码还很火爆,我的小说《文明》都没人看,唉。小说链接: https://shequ.codemao.cn/wiki/novel/cover/157878
2023-01-26T18:39:13 点赞:0
在 《文明》评论区临时的 中回复
#include<iostream>
using namespace std;
bool run(int x)
{
if(x%4==0&&x%100!=0)
{
return 1;
}
if(x%400==0)
{
return 1;
}
else if(x%4!=0)
{
return 0;
}
}
bool yue(int c)
{
if(c!=2&&c<=12)
{
return 1;
}
else return 0;
}
bool yue_31or30(int b)
{
if((b==1||b==3||b==5||b==7||b==8||b==10||b==12)&&b<=12)
return 1;
else if((b==4||b==6||b==9||b==11)&&b<=12)
return 0;
}
int main()
{
int y,m;
cin>>y>>m;
if(yue(m))
{
if(yue_31or30(m))
{
cout<<31;
}
else cout<<30;
}
else
{
if(run(y))
{
cout<<29;
}
else cout<<28;
}
return 0;
}2023-01-26T18:44:01 点赞:0
在 《文明》评论区临时的 中回复
#include<bits/stdc++.h>
#define maxn 100
using namespace std;
struct Bigint
{
int len,a[maxn];
Bigint(int x=0)
{
memset(a,0,sizeof(a));
for(len=1;x;len++)
{
a[len]=x%10,x=x/10;
}
len--;
}
int &operator[](int i)
{
return a[i];
}
void flatten(int L)
{
len=L;
for(int i=1;i<=len;i++)
{
a[i+1]+=a[i]/10,a[i]%=10;
}
for(;!a[len];)
{
len--;
}
}
void print()
{
for(int i=max(len,i);i>=1;i--)
{
printf("%d",a[i]);
}
}
};
Bigint operator+(Bigint a,Bigint b)
{
Bigint c;
int len=max(a.len,b.len);
for(int i=1;i<=len;i++)
{
c[i]+=a[i]+b[i];
}
c.flatten(len+1);
return c;
}
Bigint operator*(Bigint a,int b)
{
Bigint c;
int len=a.len;
for(int i=1;i<=len;i++)
{
c[i]=a[i]*b;
}
c.flatten(len+11);
return c;
}
int main()
{
Bigint ans(0),fac(1);
int m;
cin>>m;
for(int i=1;i<=m;i++)
{
fac=fac*i;
ans=ans+fac;
}
ans.print();
return 0;
}
无聊啊
2023-01-26T18:45:21 点赞:0
在 【半纸的书评店】 中回复
书名:《文明》
分类:科幻
小说链接:https://shequ.codemao.cn/wiki/novel/cover/157878
要求:好好挑毛病
谢谢!
2023-01-26T19:09:10 点赞:0
在 OK啊,我也来做封面了(目前无偿) 中回复
打个广告:本人也在做封面,下面是本人做的:有意者可去https://shequ.codemao.cn/community/523076留言,谢谢

2023-01-30T18:15:14 点赞:0
在 大家有英文名吗?(按照在喵站的网名取的(原创英文名)) 中回复
I have been looking forward meeting you.(什么鬼)
2023-08-20T17:03:29 点赞:0