CCCC GPLT L1

In fact, the title cccc first tranche of last year, when it has been brushing, basic no difficulty, is the main hand speed

I remember last year, when just brushing title also among the top 50, unknowingly a year later, he has been out of the top 100 of the

Since it is a water problem, then quickly mouth Hu Yibo ideas, and quickly too, and this is not posted code

A total of 48 questions

This year's tournament finished up on the eight questions, to be a perfect ending, in fact, really think this is not a good topic to write some L1 than L2


L1-001. Hello World(5分)

Ideas: direct output Hello World! Enough


L1-002. Print hourglass (20 points)

Ideas: format output


L1-003. Digit statistics (15 points)

Ideas: an array of statistics on the number appears


L1-004. Calculated Celsius (5 minutes)

Idea: turn degrees Fahrenheit


L1-005. Exam seat number (15 points)

Ideas: seat number conversion statistics


L1-006. Continuous factors (20 minutes)

Idea: enumerate pruning violence


L1-007. Read numbers (10 points)

Ideas: an array of output record mark


L1-008. Seeking integer and segment (10 minutes)

Ideas: format output


L1-009. N number of summing (20 minutes)

Thinking: score sum, logical order note


L1-010. Size comparison (10 minutes)

Ideas: Sort than the size


L1-011. AB (20 minutes)

Ideas: Statistics delete letters


L1-012. Computed indices (5 minutes)

Thinking: computing 2 ^ n


L1-013. Factorial and (10 minutes)

Ideas: factorial and


L1-014. Simple questions (5 points)

Ideas: direct output


L1-015. Draw squares together with Obama (15 points)

Ideas: Drawing


L1-016. Check ID (15 points)

Ideas: ID check


L1-017. In the end how two (15 points)

Idea: according to a formula simulation


L1-018. Big Ben (10 points)

Ideas: analog converter


1-019. Whoever down (15 points)

Ideas: Analog Finger Guessing game, pay attention to the output format


L1-020. Handsome to no friends (20 points)

Ideas: Statistics Number of Friends


L1-021. Important as saying three times (5 points)

Ideas: direct output


L1-022. Parity separation (10 min)

Ideas: Statistics odd and even number


L1-023. Output GPLT (20 minutes)

Ideas: Count Output


L1-024. Acquired (5 minutes)

Ideas: Conversion week


L1-025. Positive integer A + B (15 minutes)

Ideas: integer addition, the special value of the special sentence


L1-026. I Love GPLT(5分)

Ideas: direct output


L1-027. 出租(20分)

思路:解码


L1-028. 判断素数(10分)

思路:判断素数


L1-029. 是不是太胖了(5分)

思路:范围划分


L1-030. 一帮一(15分)

思路:模拟分组


L1-031. 到底是不是太胖了(10分)

思路:区间分组判断


L1-032. Left-pad(20分)

思路:修改字符串长度


L1-033. 出生年(15分)

思路:按规定计数


L1-034. 点赞(20分)

思路:统计标签数


L1-035. 情人节(15分)

思路:寻找特殊人物


L1-036. A乘以B(5分)

思路:简单乘法运算


L1-037. A除以B(10分)

思路:简单除法


L1-038. 新世界(5分)

思路:直接输出


L1-039. 古风排版(20分)

思路:格式输出


L1-040. 最佳情侣身高差(10分)

思路:数值计算


L1-041. 寻找250(10分)

思路:寻找数据位置


L1-042. 日期格式化(5分)

思路:变换格式


L1-043. 阅览室(20分)

思路:模拟


L1-044. 稳赢(15分)

思路:变换输出


L1-045. 宇宙无敌大招呼(5分)

思路:直接输出


L1-046. 整除光棍(20分)

思路:手动大被除数除法


L1-047. 装睡(10分)

思路:状态监测


L1-048. 矩阵A乘以B(15分)

思路:矩阵乘法


L1-049. 天梯赛座位分配(20分)

思路:其实这题真心不好做,算是一个模拟吧,模拟整个报数过程,记录下每个人对应标号,最后输出


L1-050. 倒数第N个字符串(15分)

思路:进制转换,10进制转26进制,最后注意一下,先运算后转换,避免溢出


L1-051. 打折(5分)

思路:简单计算


L1-052. 2018我们要赢(5分)

思路:纯输出


L1-053. 电子汪(10分)

思路:计数输出


L1-054. 福到了(15分)

思路:格式输入输出,注意对于图形的读入,谨防空格,读整行


L1-055. 谁是赢家(10分)

思路:比较大小


L1-056. 猜数字(20分)

思路:四舍五入逼近

发布了97 篇原创文章 · 获赞 89 · 访问量 2万+

Guess you like

Origin blog.csdn.net/Owen_Q/article/details/79504734