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
|
#include<iostream>
#include<vector>
#include<numeric>
using namespace std;
int main() {
long int nums[12][2] = {
{477571, 726031},
{423883, 19763},
{140010, 88061},
{854401, 981371},
{885130, 695704},
{807712, 452323},
{636109, 721097},
{125421, 259239},
{618719, 503819},
{712765, 852159},
{321707, 538620},
{560820, 943477}
};
int x = nums[0][0];
int y = nums[0][1];
int sum = x + y;
for (size_t i{}; i <= 12; i++) {
cout << sum << ' ' << endl;
x++;
y++;
}
return 0;
}
|