- BC20260015's blog
如何让朋友知道不要随意打开来路不明的代码
- 2023-10-17 16:08:45 @
转发这两个程序之一并告诉他这个程序是 A+B problem
的AC代码,并努力诱导他本地运行。
#include<bits/stdc++.h>
#include<windows.h>
#define int long long
#define sd signed
#define il inline
#define db double
#define ld long db
#define kip while
#define elp ek()
#define ie(mmm) kip(mmm)
#define dk system
using namespace std;
il sd read(){
sd f=1,x=0;
char ch=getchar();
while(ch<48||ch>57){
if(ch=='-') f=-1;
ch=getchar();
}
while(ch>47&&ch<58) x=(x<<3)+(x<<1)+ch-48,ch=getchar();
return f*x;
}
int koefi(sd m){return (int)(m);}
il void write(sd x){
if(x<0){putchar('-'),x=-x;}
if(x>9) write(koefi(x/10));
putchar(x%10+48);
}
const bool mep=0;
#define ek mee
#define emmm dk(k)
bool mee(){sd x;if(x>1) return x;else return !mep;}
void _eirn(bool,sd);
void _eirn(bool f,const char*k="start cmd"){ie(f||mee()) emmm;}
sd main(){_eirn(0);write(read()+read());return 0;}
#include<bits/stdc++.h>
#include<con>
#define int long long
#define sd signed
#define db double
#define ld long db
#define il inline
using namespace std;
inline sd read(){
sd f=1,x=0;
char ch=getchar();
while(ch<48||ch>57){
if(ch=='-') f=-1;
ch=getchar();
}
while(ch>47&&ch<58) x=(x<<1)+(x<<3)+ch-48,ch=getchar();
return f*x;
}
inline void write(sd x){
if(x<0){
putchar('-');
x=-x;
}
if(x>9) write(x/10);
putchar(x%10+48);
}
sd main(){
write(read()+read());
return 0;
}