poj 3364 Black and white painting
来源:互联网 发布:视频网站程序 linux 编辑:程序博客网 时间:2024/05/16 04:59
#include <iostream>using namespace std;int main(){ int n, m, c, ans; while (cin >> n >> m >> c){ if (n == 0 && m == 0 && c == 0) break; if (c == 1 && (n-7) % 2 == 1 && (m-7) % 2 == 1) ans = ((n-7)*(m-7)+1)/2; else ans = ((n-7)*(m-7))/2; cout << ans << endl; } system("pause");}
- poj 3364 Black and white painting
- Poj 3364 Black and white painting
- POJ-3364(简单组合)(Black and white painting )
- POJ 3364 Black and white painting 再想想
- UVa 11231 - Black and white painting
- 杂码系列之 Black and white painting hdoj 1802
- Black And White
- Black And White
- Black and white hdu3633
- hdu3911 Black And White
- hdu3911---Black And White
- HDU5113 Black And White
- Black And White HDU
- Black And White
- UVALive 7410 && POJ 5583 Kingdom of Black and White (枚举)
- White, Black and White Again )(CodeForces
- hdu 3911 Black and White
- hdu 3911 Black And White
- Mysql数据库备份与还原
- PB 调用.NET COM组件
- Ubuntu下 git 服务器的搭建。
- 打印函数调用栈----backtrace原理简单实现
- 关于system.data.oledb.oledbexception 未定义的错误
- poj 3364 Black and white painting
- No result defined for action org.action.StrutsAction and result success之解决
- Linux创建进程到65535
- 这个东西,可以参考
- 元数据归来
- 提问
- Android stagefright decoder
- MYSQL主从同步异常汇总
- NetBeans相关