Processing math: 100%
祝同学们学习进步,编程快乐!
Problem 2705 --Getting Started - Rectangle

2705: Getting Started - Rectangle

"
Time Limit 1 秒/Second(s) Memory Limit 512 兆字节/Megabyte(s)
提交总数 516 正确数量 258
裁判形式 标准裁判/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 two integers  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] 林文俊 1114677 2024-10-13 23:35:18
内存最少[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++程序设计(入门)

竞赛编号 竞赛名称 竞赛时间 访问比赛
1840 2024-2025-1学期《C语言程序设计》:顺序结构,基本输入输出和数学计算【24计算机】 2024-10-07 00:00:00 请登录
1388 2019-2020-1学期《C语言程序设计I》:顺序结构【19计算机12班】 2019-09-23 07:00:00 请登录
AOJ
祝同学们学习进步,编程快乐!