7 条题解
- 
  0
#include <queue> #include <math.h> #include <stack> #include <stdio.h> #include <iostream> #include <vector> #include <iomanip> #include <string.h> #include <algorithm> using namespace std; #define LL long long const int N = 1e6 + 10; const int INF = 0x3f3f3f3f; int a[10][10]; int main() { for(int i = 1; i <= 6; i++) { for(int j = 1; j <= 6; j++) { cin >> a[i][j]; if(i == j) { a[i][j] += 10; } if(i + j == 7) { a[i][j] += 10; } } } for(int i = 1; i <= 6; i++) { for(int j = 1; j <= 6; j++) { cout << a[i][j] << " "; } puts(""); } return 0; } 
信息
- ID
 - 1052
 - 时间
 - 1000ms
 - 内存
 - 128MiB
 - 难度
 - 4
 - 标签
 - 递交数
 - 540
 - 已通过
 - 234
 - 上传者