ACM
Lambo Chen
Life is so simple, I do not have complicated thoughts.
Github: LamboChen
展开
-
【ACM】入门训练之A+B
前言问:说说你印象最深刻的程序 A答:Hello World B答:A+BA+B for Input-Output Practice (I)注:后续的A+B将只有原题链接,没有题目详情哈。建议和我一样的acm小白点击下题目链接,AC原题链接Problem DescriptionYour task is to Calculate a + b. Too easy?! Of...原创 2018-05-17 11:05:23 · 9699 阅读 · 0 评论 -
【“浪潮杯”第九届山东省ACM大学生程序设计竞赛重现赛】C 题 ------ Cities
题目描述原题传送门 - 牛客网时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 65536K,其他语言131072K 64bit IO Format: %lld题目描述:There are n cities in Byteland, and the i city has a value a . The cost of building a bidirection...原创 2018-05-22 09:19:38 · 560 阅读 · 0 评论 -
【ACM-2017四川省赛】G . 2017
题目描述G. 2017Given a, b, c, d, find out the number of pairs of integers (x, y) where a ≤ x ≤ b, c ≤ y ≤ d and x · y is multiple of 2017.InputThe input contains zero or more test cases and is ter...原创 2018-05-23 09:43:28 · 1645 阅读 · 2 评论 -
【ACM-2017四川省赛】A. Simple Arithmetic
题目描述Given a and b which both fit in 64-bit signed integers, find ⌊ a/b ⌋ where ⌊x⌋ denotes the largest integer which is not larger than x.InputThe input contains zero or more test cases and is t...原创 2018-05-23 10:30:57 · 915 阅读 · 2 评论 -
【ACM - 2017四川省赛】F. Simple Algebra(特判)
题目描述Given function f(x, y) = ax*x + bxy + cy*y, check if f(x, y) ≥ 0 holds for all x, y ∈ R.InputThe input contains zero or more test cases and is terminated by end-of-file.Each test case contai...原创 2018-05-23 12:16:51 · 1459 阅读 · 0 评论 -
【2018 CodeM】资格赛---下单
前言这道题目应该算签到题了吧(我大概扫了一下,感觉这道题目应该是最简单的 ^_^)注:如果您现在还没有AC,并且比赛还没有结束,我建议再想想,认真再重新读下题目描述,或许你就会发现原来是自己想复杂了(不管你是不是这样的情形,反正我当时是这样的,哈哈)题目描述[编程|1000分] 下单时间限制:C/C++ 1秒,其他语言 2秒 空间限制:C/C++ 262144K,其他语言...原创 2018-05-30 10:38:38 · 1096 阅读 · 0 评论 -
【湖南大学2018年第十四届程序设计竞赛重现赛】A - game
题目描述题目传送门 - 牛客网时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 65536K,其他语言131072K 64bit IO Format: %lld题目描述 Tony and Macle are good friends. One day they joined a birthday party together. Fortunately, they ...原创 2018-05-31 22:07:40 · 845 阅读 · 0 评论