ZOJ 2857Image Transformation
来源:互联网 发布:javascript闭包是什么 编辑:程序博客网 时间:2024/06/13 00:56
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2857
#include<iostream>#include<string>#include<cmath>#include<cstdio>#include<string.h>#include<cstring>#include<algorithm>using namespace std;int graph[200][200];int main(){ int n, m, cot = 0; while (cin >> n >> m) { cot++; memset(graph, 0, sizeof graph); if (n == 0 && m == 0)break; for (int i = 0; i < 3; i++) { for (int j = 0; j < n; j++) { for (int k = 0; k < m; k++) { int temp; scanf("%d", &temp); graph[j][k] += temp; } } } printf("Case %d:\n", cot); for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { if (j)printf(","); printf("%d", graph[i][j] / 3); } printf("\n"); } } return 0;}
0 0
- zoj 2857 Image Transformation
- ZOJ 2857 Image Transformation
- zoj 2857 Image Transformation
- ZOJ 2857 Image Transformation
- ZOJ 2857Image Transformation
- zoj-【2857 Image Transformation 】
- zoj 2857 Image Transformation水题
- ZOJ 2857: Image Transformation 【vector】
- Solution of ZOJ 2857 Image Transformation
- ZOJ Problem Set - 2857 Image Transformation
- ZOJ 2857 Image Transformation(像素)
- ZOJ Problem Set - 2857 Image Transformation
- Image Transformation
- Image Transformation
- SDUT 1104 Image Transformation
- [cv]Image transformation
- zju2857图像转换Image Transformation
- ZOJ 1047 Image Perimeters
- 6、Maven依赖的聚合
- C++之匿名对象与析构函数的关系
- nginx 相关配置参考文章
- ZOJ 2856Happy Life(数论,暴力)
- IOS alamofire网络请求
- ZOJ 2857Image Transformation
- POJ 2774Long Long Message 题解&代码
- iOS的蓝牙连接、数据接收及发送
- Android实现模拟登陆正方系统查成绩
- Session
- 16-02-19 Your content must have a ListView whose id attribute is 'android.R.id.list'
- [maya学习笔记(6)] 成组与解组 坐标轴 捕捉命令
- 瀑布流 上拉加载更多
- git submodules