#p9999. 信奥赛题目

信奥赛题目

当前没有测试数据。

Background

题目描述】

已知一个n×n(2n20)𝑛×𝑛(2≤𝑛≤20)的矩阵(方阵),把矩阵二条对角线上的元素值加上1010,然后输出这个新矩阵。

【输入】

第一行为n𝑛;

下面为一个n×n𝑛×𝑛,矩阵中各正整数小于100100。

【输出】

输出新的矩阵。共n𝑛行,每行n𝑛数,各数之间用一个空格隔开。

【输入样例】

5 13 66 53 89 55 11 72 61 62 46 90 10 38 10 55 95 20 43 27 19 60 12 66 16 96### 【输出样例】

23 66 53 89 65 11 82 61 72 46 90 10 48 10 55 95 30 43 37 19 70 12 66 16 106

Description

Given two integers x and y, print the sum.

Format

Input

Two integers x and y, satisfying 0x,y327670\leq x,y\leq 32767 .

Output

One integer, the sum of x and y.

Samples

123 500
623

Limitation

1s, 1024KiB for each test case.