Codeforces Beta Round #1 A. Theatre Square
来源:互联网 发布:linux创建用户密码 编辑:程序博客网 时间:2024/05/16 06:07
从今天开始,就要在Codeforces里有一个新的开始了,貌似任务很重的说~~
Codeforces专题我将会记录所有通过的题目,其实只要通过的题目都是水题啊!!
题目大意:
按照要求计算需要多少flagstone.
下面是代码:
#include <stdio.h>int main(){ long long n,m,a,r,c; scanf("%I64d%I64d%I64d",&n,&m,&a); r=n/a; if(n%a)r++; c=m/a; if(m%a)c++; printf("%I64d\n",r*c); return 0;}
1 0
- Codeforces Beta Round #1 A - Theatre Square
- Codeforces Beta Round #1 A. Theatre Square
- Codeforces Beta Round #1 A. Theatre Square
- Codeforces Beta Round #1 A Theatre Square
- Codeforces Beta Round #1 A. Theatre Square
- Codeforces Beta Round #1 A. Theatre Square
- Codeforces Beta Round #1 A. Theatre Square
- Codeforces Beta Round #1 / 1A Theatre Square (简单数学)
- Codeforces Beta Round #1 Theatre Square
- Codeforces Round #1A Theatre Square
- CodeForces 1A Theatre Square(math)——Codeforces Beta Round #1
- CodeForces 1A Theatre Square
- Codeforces 1A. Theatre Square
- codeforces 1A-Theatre Square
- 【CodeForces】[1A]Theatre Square
- CodeForces 1A Theatre Square
- CodeForces 1A Theatre Square
- CodeForces 1A Theatre Square
- ppt插入的flash有白边的问题
- jsp标签和el表达式-jsp代码
- Android 自带图标库 android.R.drawable
- 关于oracle数据库的一点心得
- password加默认字
- Codeforces Beta Round #1 A. Theatre Square
- 5.3版本mongoose的多线程实例源代码
- AppCan:Hybrid App技术已经成熟
- C++学习笔记11,public继承,公有继承(二)
- UVa 12333 - Revenge of Fibonacci
- 解决ajax请求中文参数乱码问题
- Js 去空格
- 赵雅智_通过开源框架获取Json数据
- JS 比较时间大小