博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
hdu2052
阅读量:2195 次
发布时间:2019-05-02

本文共 1221 字,大约阅读时间需要 4 分钟。

/* * ===================================================================================== * *       Filename:  hdu2052.c * *    Description:   * *        Version:  1.0 *        Created:  2013年11月17日 21时44分18秒 *       Revision:  none *       Compiler:  gcc * *         Author:  Wenxian Ni (Hello World~), niwenxianq@qq.com *   Organization:  AMS/ICT * * ===================================================================================== *//*PictureTime Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 13772    Accepted Submission(s): 7113Problem DescriptionGive you the width and height of the rectangle,darw it. InputInput contains a number of test cases.For each case ,there are two numbers n and m (0 < n,m < 75)indicate the width and height of the rectangle.Iuput ends of EOF. OutputFor each case,you should draw a rectangle with the width and height giving in the input.after each case, you should a blank line. Sample Input3 2 Sample Output+---+|   ||   |+---+*/#include 
int main(){ int m,n; int i,j; while(~scanf("%d %d",&m,&n)) { printf("+"); for(i=0;i

说明:

1. 每个case之后还要有一行

转载于:https://my.oschina.net/vintnee/blog/640487

你可能感兴趣的文章
【虫师】【selenium】参数化
查看>>
【Python练习】文件引用用户名密码登录系统
查看>>
学习网站汇总
查看>>
【Python】用Python打开csv和xml文件
查看>>
【Loadrunner】性能测试报告实战
查看>>
【自动化测试】自动化测试需要了解的的一些事情。
查看>>
【selenium】selenium ide的安装过程
查看>>
【手机自动化测试】monkey测试
查看>>
【英语】软件开发常用英语词汇
查看>>
Fiddler 抓包工具总结
查看>>
【雅思】雅思需要购买和准备的学习资料
查看>>
【雅思】雅思写作作业(1)
查看>>
【雅思】【大作文】【审题作业】关于同不同意的审题作业(重点)
查看>>
【Loadrunner】通过loadrunner录制时候有事件但是白页无法出来登录页怎么办?
查看>>
【English】【托业】【四六级】写译高频词汇
查看>>
【托业】【新东方全真模拟】01~02-----P5~6
查看>>
【托业】【新东方全真模拟】03~04-----P5~6
查看>>
【托业】【新东方托业全真模拟】TEST05~06-----P5~6
查看>>
【托业】【新东方托业全真模拟】TEST09~10-----P5~6
查看>>
【托业】【新东方托业全真模拟】TEST07~08-----P5~6
查看>>