Problem 2705 --Getting Started - Rectangle

2705: Getting Started - Rectangle

"
Time Limit $1$ 秒/Second(s) Memory Limit $512$ 兆字节/Megabyte(s)
提交总数 $334$ 正确数量 $184$
裁判形式 标准裁判/Standard Judge 我的状态 尚未尝试
难度 分类标签 STL

Rectangle 

Write a program which calculates the area and perimeter of a given rectangle.

The length a and breadth b of the rectangle are given in a line separated by a single space.
Print the area and perimeter of the rectangle in a line. The two integers should be separated by a single space.
3 5
15 16
1 ≤ a, b ≤ 100

推荐代码 查看2705 所有题解 上传题解视频得图灵币

本题记录 用 户(点击查看用户) 运行号(点击购买题解) 时 间
算法最快[$0 $ms] 啊阿阿阿阿阿阿伟 896401 2022-09-05 10:36:22
内存最少[$0 $KB] Qiqy 590058 2020-06-02 12:39:16
第一AC 张博韬@网络工程162 295038 2018-10-25 20:18:03
第一挑战 张博韬@网络工程162 295038 2018-10-25 20:18:03

赛题来源/所属竞赛 会津大学《C++ Programming I》 C++程序设计(入门)

竞赛编号 竞赛名称 竞赛时间 访问比赛
1388 2019-2020-1学期《C语言程序设计I》:顺序结构【19计算机12班】 2019-09-23 07:00:00 请登录