首页 > 其他分享 >园主の马蜂变迁

园主の马蜂变迁

时间:2024-08-12 14:50:37浏览次数:6  
标签:ch 马蜂 int 变迁 long read freopen 园主 getchar

背景:我不知道哪天闲的没事瞟了一眼我三年前的缺省源,发现还不到现在长度的 \(1\over 3\)。

所以花了 \(log_{2}4.14952\times 10^{180}s\) (十分钟)抽了不同时期的缺省源配上 A+B Ploblem 的代码来进行了比较。如下:


\[2022.10 \]

#include<bits/stdc++.h>
using namespace std;
int main()
{
// freopen("interval.in","r",stdin);
// freopen("interval.out","w",stdout);
	long long a,b;
	cin>>a>>b;
	cout<<a+b;
	return 0;
}

\[2022.11 \]

#include<bits/stdc++.h>
using namespace std;
long long a,b;
int main()
{
// freopen("interval.in","r",stdin);
// freopen("interval.out","w",stdout);
	cin>>a>>b;
	cout<<a+b;
	return 0;
}

\[2023.3 \]

#include<bits/stdc++.h>
using namespace std;
long long a,b;
int main()
{
// freopen("interval.in","r",stdin);
// freopen("interval.out","w",stdout);
	scanf("%lld%lld",&a,&b);
	printf("%lld\n",a+b);
	return 0;
}

\[2023.5 \]

#include<bits/stdc++.h>
using namespace std;
inline int read()
{
	int w=1,s=0;char ch=getchar();
	while(!isdigit(ch)){if(ch=='-')w=-1;ch=getchar();}
	while(isdigit(ch)){s=s*10+(ch-'0');ch=getchar();}
	return w*s;
}
long long a,b;
int main()
{
// freopen("interval.in","r",stdin);
// freopen("interval.out","w",stdout);
	a=read();b=read();
	cout<<a+b;
	return 0;
}

\[2023.7 \]

#include<bits/stdc++.h>
#define int long long
using namespace std;
inline int read()
{
	int w=1,s=0;char ch=getchar();
	while(!isdigit(ch)){if(ch=='-')w=-1;ch=getchar();}
	while(isdigit(ch)){s=s*10+(ch-'0');ch=getchar();}
	return w*s;
}
int a,b;
signed main()
{
// freopen("interval.in","r",stdin);
// freopen("interval.out","w",stdout);
	a=read();b=read();
	cout<<a+b;
	return 0;
}

\[2024.1 \]

#include<bits/stdc++.h>
#define int long long
using namespace std;
inline int read()
{
	int w=1,s=0;char ch=getchar();
	while(!isdigit(ch)){if(ch=='-')w=-1;ch=getchar();}
	while(isdigit(ch)){s=s*10+(ch-'0');ch=getchar();}
	return w*s;
}
const int maxn=1e6+10;
int a,b;
signed main()
{
// freopen("interval.in","r",stdin);
//	freopen("interval.out","w",stdout);
    a=read();b=read();
	cout<<a+b;
    return 0;
}

\[2024.6 \]

#include<bits/stdc++.h>
#define int long long
using namespace std;
inline int read()
{
	int w=1,s=0;char ch=getchar();
	while(!isdigit(ch)){if(ch=='-')w=-1;ch=getchar();}
	while(isdigit(ch)){s=s*10+(ch-'0');ch=getchar();}
	return w*s;
}
const int mod=1e9+7;
const int maxn=1e6+10;
signed main()
{
// freopen("interval.in","r",stdin);
//	freopen("interval.out","w",stdout);
    return 0*printf("%lld\n",read()+read());
    return 0;
}

\[2024.7 \]

#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include<ext/pb_ds/hash_policy.hpp>
#include<ext/pb_ds/trie_policy.hpp>
#include<ext/pb_ds/priority_queue.hpp>
#define int long long
using namespace std;
using namespace  __gnu_pbds;
//gp_hash_table<string,int>mp2;
//__gnu_pbds::priority_queue<int,less<int>,pairing_heap_tag> q;
inline int read()
{
	int w=1,s=0;char ch=getchar();
	while(!isdigit(ch)){if(ch=='-')w=-1;ch=getchar();}
	while(isdigit(ch)){s=s*10+(ch-'0');ch=getchar();}
	return w*s;
}
const int mod=1e9+7;
const int maxn=1e6+10;
signed main()
{
// freopen("interval.in","r",stdin);
// freopen("interval.out","w",stdout);
	return 0*printf("%lld\n",read()+read());
}

\[2024.8 \]

#include<bits/stdc++.h>
#define int long long
using namespace std;
inline int read()
{
	int w=1,s=0;char ch=getchar();
	while(!isdigit(ch)){if(ch=='-')w=-1;ch=getchar();}
	while(isdigit(ch)){s=s*10+(ch-'0');ch=getchar();}
	return w*s;
}
const int mod=998244353;
const int maxn=1e6+10;
signed main() 
{
#ifdef Lydic
    freopen(".in","r",stdin);
    freopen(".out","w",stdout);
#endif
	cout<<read()+read();
    return 0;
}

标签:ch,马蜂,int,变迁,long,read,freopen,园主,getchar
From: https://www.cnblogs.com/Lydic/p/18354942

相关文章

  • AI时代的职场变迁:适合普通人的5大副业兼职!
    前言最近和朋友小李聊起她的求职经历,她是做销售的,从年初开始投简历到现在,合适的面试机会居然不到5个。这让我大吃一惊,一直以为销售类的职位需求应该很大,但现实显然比想象中更严峻。就业市场的现状比我们想象的还要糟糕。尤其是最近武汉出现了不少萝卜车,出租车和滴滴司机的......
  • 博客园主题美化教程
    主题:geek主题(博主用的就是这一款)该博主还开发了一个皮肤构建工具awescnb,可以在博客园安装这个项目中已经集成的皮肤https://www.yuque.com/awescnb/user1、进入博客园的设置里面申请开通js权限。没有申请是这个样子的填写一下申请的理由(网上一般都是这么写的),等待通过就好了......
  • 电脑城的消失:时代变迁与失落的记忆
            随着时代的变迁,曾经繁华一时的电脑城逐渐衰退甚至面临消失,这个曾经让许多人记忆深刻的地方,如今已经成为过去的影子。电脑城的衰退,让人们不禁思考:这是好是坏?这个变化,又意味着什么?        回首往昔,电脑城是我心中的一个特殊存在。在我还是个学生的时候,......
  • 马蜂窝景点评论(以恭王府为例)
    1.python部分马蜂窝.py#-*-coding:utf-8-*-#@Time:2024/04/1518:34#@Author:快乐的小猴子#@Version:#@Function:importsubprocessfromfunctoolsimportpartialsubprocess.Popen=partial(subprocess.Popen,encoding='utf-8')importexecjsimpo......
  • 中考英语首字母快速突破014-2021上海徐汇英语二模-Future Changes: Predictions and P
    PDF格式公众号回复关键字:ZKSZM014原文​Readthecommentsaboutchangesinthefuture.Howmuchdoyouagreewiththem?​Thedays,somepeopleworkathomeoneortwodaysaweekinsteadofgoingtoanofficeeveryday.Ithinkinthefuture......
  • [分享] Silence - 专注于阅读的博客园主题
    本篇效果即为本博客皮肤。(食用前请先开通JS权限)博客皮肤:Custom侧边公告:<script>window.$silence={avatar:'https://ts1.cn.mm.bing.net/th/id/R-C.bf673c3207334d32efe2fa24b3082dac?rik=YzLZMg%2fLizJrtQ&riu=http%3a%2f%2fimg.touxiangwu.com%2fuploads%2falli......
  • 性能逆天的三端电容器-谈历代iphone电容器的变迁史
    早期苹果手机的硬件设计在业界享有很高的声誉,技术领先,主要体现在以下方面:整合性设计:苹果采用垂直整合的设计理念,掌控硬件和软件的整个生态系统。这种一体化设计使得硬件和软件之间更好地协同工作,提供更流畅、高效的用户体验。高质量的材料和制造工艺:苹果注重采用高质量的材......
  • 博客园主题
    点击查看代码<script>window.$silence={avatar:'https://cdn.luogu.com.cn/upload/usericon/369470.png',favicon:'https://cdn.luogu.com.cn/upload/usericon/369470.png',github:'https://github.com/',defaultMode:'auto&#......
  • 记录一下自定义博客园主题过程
    前言以前使用的都是默认的博客园主题,最近刚好有空,着手定制以下自己的博客园主题。最终效果参考当前的博客,如果看不到则需要在博客园首页头像处悬停关闭简洁模式思路是尽量保持原有结构,不进行破坏性改动,以css样式为主(当前只添加了两个js方法用于主题切换和判断是否在随笔阅读......
  • 博客园主题设置
    1、页面定制CSS\1生成博客目录的CSS2#uprightsideBar{3font-size:12px;4font-family:Arial,Helvetica,sans-serif;5text-align:left;6position:fixed;/*将div的位置固定到距离top:50px,right:0px的位置,这样div就会处在最右边的位置,距离顶部50......