![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Lightoj
文章平均质量分 82
idealistic
编程渣渣~~
展开
-
lightoj1414-容斥原理
1414 - February 29 PDF (English) Statistics Forum Time Limit: 1 second(s) Memory Limit: 32 MB It is 2012, and it's a leap year. So there is a "February 29"原创 2016-11-04 15:41:22 · 270 阅读 · 0 评论 -
【图灵杯】一个简单的问题
题目描述 这是一个三层的字母塔。 如何输出一个任意层数的字母塔呢? 输入 一个数字n(1 输出 n层的字母塔 样例输入 4 样例输出 A ABA ABCBA ABCDCBA code: #include #include int main() { int n,t; while(~scanf("%d",&原创 2016-11-19 22:41:01 · 1386 阅读 · 0 评论 -
【图灵杯】薯条问题
题目描述 薯片这次又遇到问题了== 薯片有n个薯条棒,第i个薯条棒的长度为i,由于薯片能瞬间移动,所以薯片能在1秒内从这n个薯条棒里面选择一个或者多个,吃掉同样长的一部分, 并且被吃掉部分的长度是正整数,问薯片至少多少时间能把这n个薯条棒都吃完? 输入 多组数据输入,每组数据第一行输入一个n(19). 输出 对于每组数据,输出最短的时间. 样例输入 3 4原创 2016-11-19 22:49:33 · 683 阅读 · 0 评论 -
【lightoj】1263 - Equalizing Money
1263 - Equalizing Money PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB There are n people in a certain village. Each o原创 2017-04-07 20:34:04 · 363 阅读 · 0 评论 -
【lightoj】1014 - Ifter Party
1014 - Ifter Party PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB I have an Ifter party at the 5th day of Ramadan for原创 2017-04-04 16:13:27 · 354 阅读 · 0 评论 -
【lightoj】1338 - Hidden Secret!
1338 - Hidden Secret! PDF (English) Statistics Forum Time Limit: 1 second(s) Memory Limit: 32 MB In this problem you are given two names, you hav原创 2017-04-04 17:25:24 · 307 阅读 · 0 评论 -
【lightoj】1141 - Number Transformation
1141 - Number Transformation PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB In this problem, you are given an integer原创 2017-04-04 21:54:25 · 359 阅读 · 0 评论