![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ACM
文章平均质量分 83
dy19990714
这个作者很懒,什么都没留下…
展开
-
Puzzle,ACM/ICPC World Finals 1993, UVa227
ACM纯萌新,刚开始刷题还在用c语言写,感觉这道题用c++写好一点 (1)c语言读入带'\n'和' '的字符串时会很麻烦,在这个点上花费了较长时间 (2)关于清除缓冲区的问题,本来想用fflush(stdin),但是可移植性不佳,比赛可能没法用,于是改成: char c = 0; while ((c = getchar()) != '\n'&&c != EOF); 也算学到了新的清除原创 2017-10-23 11:21:45 · 495 阅读 · 0 评论 -
Crossword Answers, ACM/ICPC World Finals 1994, UVa232
Description A crossword puzzle consists of a rectangular grid of black and white squares and two lists of definitions (or descriptions). One list of definitions is for “words” to be written left原创 2017-10-26 19:38:41 · 291 阅读 · 0 评论 -
猜数字,hdu1172
猜数字Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Problem Description猜数字游戏是gameboy最喜欢的游戏之一。游戏的规则是这样的:计算机随机产生一个四位数,然后玩家猜这个四位数是什么。每猜一个数,计算机都会告诉玩家猜对几个数字,其中有几个数字在正确的位置原创 2017-11-15 14:36:00 · 246 阅读 · 0 评论 -
Oil Deposits,hdu1241
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 34907 Accepted Submission(s): 20265Problem DescriptionThe GeoSurvComp geologic survey compan原创 2017-11-15 22:25:20 · 115 阅读 · 0 评论