-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddition
116 lines (116 loc) · 2.01 KB
/
addition
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
class Addition
{
int b[100];
int a[100];
int n;
int Add()
{
int i;
n = 50;
max = a[0];
a[0]=383;
b[0]=386;
a[1]=277;
b[1]=415;
a[2]=293;
b[2]=335;
a[3]=386;
b[3]=492;
a[4]=149;
b[4]=421;
a[5]=362;
b[5]=27;
a[6]=190;
b[6]=59;
a[7]=263;
b[7]=426;
a[8]=40;
b[8]=426;
a[9]=172;
b[9]=236;
a[10]=211;
b[10]=368;
a[11]=67;
b[11]=429;
a[12]=282;
b[12]=30;
a[13]=362;
b[13]=123;
a[14]=67;
b[14]=135;
a[15]=429;
b[15]=302;
a[16]=22;
b[16]=58;
a[17]=69;
b[17]=167;
a[18]=393;
b[18]=456;
a[19]=11;
b[19]=42;
a[20]=229;
b[20]=373;
a[21]=421;
b[21]=419;
a[22]=284;
b[22]=37;
a[23]=198;
b[23]=324;
a[24]=315;
b[24]=370;
a[25]=413;
b[25]=26;
a[26]=91;
b[26]=480;
a[27]=456;
b[27]=373;
a[28]=362;
b[28]=170;
a[29]=496;
b[29]=281;
a[30]=305;
b[30]=425;
a[31]=84;
b[31]=327;
a[32]=336;
b[32]=5;
a[33]=346;
b[33]=229;
a[34]=313;
b[34]=357;
a[35]=124;
b[35]=395;
a[36]=82;
b[36]=45;
a[37]=314;
b[37]=367;
a[38]=434;
b[38]=364;
a[39]=43;
b[39]=250;
a[40]=87;
b[40]=308;
a[41]=276;
b[41]=178;
a[42]=288;
b[42]=84;
a[43]=403;
b[43]=151;
a[44]=254;
b[44]=399;
a[45]=432;
b[45]=60;
a[46]=176;
b[46]=368;
a[47]=239;
b[47]=12;
a[48]=226;
b[48]=86;
a[49]=94;
b[49]=39;
for i=1, i<n
{
a[i] += b[i];
}
}
}