随笔分类 - 离散化
摘要:F. Array Partition time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given an arra
阅读全文
摘要:题目大意就是求一个序列中逆序对的数目, 由于Luogu的数据太弱导致错误的程序竟然通过了, 于是我在CodeVs上评测的程序 输入格式: 第一行,一个数n,表示序列中有n个数。 第二行n个数,表示给定的序列。 输出格式: 给定序列中逆序对的数目。 输入样例#1: 6 5 4 2 6 3 1 输出样例
阅读全文