上一页 1 ··· 4 5 6 7 8
摘要: http://oj.acm.zstu.edu.cn/JudgeOnline/problem.php?id=4442 很容易超时 通过数组来记录,删除 //数组从1开始好像不行 后面一些数字就乱码了,因为此时now的值使得坐标可能为0,一些情况下,a【0】成功上位,一些却不行。 1 #include< 阅读全文
posted @ 2018-12-13 19:23 XXrl 阅读(182) 评论(0) 推荐(0) 编辑
摘要: https://vjudge.net/problem/18374/origin 1 #include<cstdio> 2 #include<algorithm> 3 #include<iostream> 4 #include<cmath> 5 using namespace std; 6 const 阅读全文
posted @ 2018-12-12 16:08 XXrl 阅读(166) 评论(0) 推荐(0) 编辑
摘要: The Double Seventh Festival, on the 7th day of the 7th lunar month, is a traditional festival full of romance. On that day, the God of the Love came t 阅读全文
posted @ 2018-12-03 20:50 XXrl 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 输入n,m 表示输入n个数输出前m个最大的数 Input The input file contains many test cases. Each case has 2 lines. The first line consists of 2 integer number n and m ( 0 < 阅读全文
posted @ 2018-12-03 19:41 XXrl 阅读(108) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8