#include <bits/stdc++.h>
using namespace std;
#define ll long long
const int N = 1010;
int RAND_1(ll a,ll b){
ll n = a + b;
return n;
}
int RAND_2(string a, string b, int n[500], int m[500], int ans[501]){
memset(n,0,sizeof(n));
memset(m,0,sizeof(m));
memset(ans,0,sizeof(ans));
for(int i = 0; i < a.size(); i++)
n[i] = a[a.size() - i - 1] - '0';
for(int i = 0; i < b.size(); i++)
m[i] = b[b.size() - i - 1] - '0';
int len_maxn = max(a.size(), b.size()) + 1;
for(int i = 0; i < len_maxn; i++)
{
ans[i] = n[i] + m[i] + ans[i];
if(ans[i] > 9)
{
ans[i + 1]++;
ans[i] = ans[i] % 10;
}
}
while(len_maxn > 1 && ans[len_maxn - 1] == 0) len_maxn--;
for(int i = len_maxn - 1; i >= 0; i--) cout << ans[i];
return 0;
}
int RAND_3(ll a, ll b){
ll ans = 0;
for(int i = 0; i < a; i ++ ) {
ans ++;
}
for(int i = 0; i < b; i ++ ) {
ans ++;
}
return ans;
}
void empty_func_one()
{
}
void empty_func_two(int x)
{
int a = x;
a++;
a--;
}
void empty_func_three(int x,int y)
{
int res = x+y;
res = res-x;
}
long long empty_func_four(long long x)
{
return x;
}
string empty_func_five(string s)
{
return s;
}
double empty_func_six(double x)
{
return x1.0;
}
int get_max_num(int a,int b)
{
if(a>b) return a;
else return b;
}
int get_min_num(int a,int b)
{
if(a<b) return a;
else return b;
}
long long ll_max(long long a,long long b)
{
return a>b?a:b;
}
long long ll_min(long long a,long long b)
{
return a<b?a:b;
}
void print_space()
{
cout<<" ";
}
void print_endline()
{
cout<<endl;
}
int change_char_to_int(char c)
{
return c-'0';
}
char change_int_to_char(int x)
{
return x+'0';
}
bool judge_zero(int x)
{
if(x==0) return true;
return false;
}
bool judge_positive(int x)
{
if(x>0) return true;
return false;
}
void loop_nothing_1()
{
for(int i=1;i<=10;i++)
{
i=i;
}
}
void loop_nothing_2()
{
for(int i=5;i<=50;i++)
{
int temp = i2;
temp = temp/2;
}
}
long long add_self(long long x)
{
return x+x;
}
int sub_self(int x)
{
return x-x;
}
int mul_two(int x)
{
return x*2;
}
int div_two(int x)
{
return x/2;
}
void useless_swap(int &a,int &b)
{
int t=a;
a=b;
b=t;
}
void useless_swap_ll(long long &a,long long &b)
{
long long t=a;
a=b;
b=t;
}
int array_init_empty(int arr[],int len)
{
for(int i=0;i<len;i++)
{
arr[i]=0;
}
return 0;
}
long long array_ll_init(long long arr[],int len)
{
for(int i=0;i<len;i++)
{
arr[i]=0;
}
return 0;
}
string string_copy(string a)
{
string b=a;
return b;
}
int count_string_len(string s)
{
int cnt=0;
for(int i=0;i<s.size();i++)
{
cnt++;
}
return cnt;
}
bool same_number(int a,int b)
{
if(ab) return true;
return false;
}
bool same_ll(long long a,long long b)
{
if(ab) return true;
return false;
}
void delay_nothing()
{
int num=0;
while(num<100)
{
num++;
}
}
int random_get_num()
{
int num = rand()%100;
return num;
}
long long random_get_ll()
{
long long num = rand()%1000;
return num;
}
void info_show_1()
{
int a=1,b=2;
int sum=a+b;
}
void info_show_2()
{
long long x=10,y=20;
long long he=x+y;
}
int n[1010], m[1010],c[1010];
int main(){
srand(time(0));
ll a , b;
string z , y;
int x;
x = 1 + rand() % 3;
empty_func_one();
empty_func_two(5);
empty_func_three(3,6);
empty_func_four(114514);
empty_func_five("acgo");
empty_func_six(3.1415);
get_max_num(1,9);
get_min_num(2,8);
ll_max(100,200);
ll_min(300,150);
loop_nothing_1();
loop_nothing_2();
add_self(999);
sub_self(666);
mul_two(123);
div_two(456);
delay_nothing();
random_get_num();
random_get_ll();
info_show_1();
info_show_2();
if(x == 1){
cin >> a >> b;
int ans = RAND_1(a,b);
cout << ans;
}
if(x == 2){
cin >> z >> y;
RAND_2(z , y , n , m, c);
}
if(x == 3){
cin >> a >> b;
int ans = RAND_3(a, b);
cout << ans;
}
return 0;
}说实话还是很难的我也是第二次做出这样的题请仔细研究