t0ur1st 6 年前 STL 【蓝桥杯】ALGO-10 集合运算 题目描述: 给出两个整数集合A、B,求出他们的交集、并集以及B在A中的余集。 输入描述: 第一行为一个整数n,表示集合A中的元素个数。 第二行有n个互不相同的用空格隔开的整数,表示集合A中的元素。 第三行为一个整数m,表示集合B中的元素个数。 第四行有m个互不相同的用空格隔开的整数,表示集合B中的元 […] C++, 蓝桥杯 4.58k 0 1
t0ur1st 6 年前 数学 【Codeforces】1217B – Zmei Gorynich Problem Description: You are fighting with Zmei Gorynich — a ferocious monster from Slavic myths, a huge dragon-like reptile with multiple heads! Init […] C++, Codeforces 4.55k 0 0
t0ur1st 6 年前 数学 【Codeforces】1217A – Creating a Character Problem Description: You play your favourite game yet another time. You chose the character you didn’t play before. It has strstr points of stre […] C++, Codeforces 5.31k 0 0
t0ur1st 6 年前 数学 【Codeforces】158B – Taxi Problem Description: After the lessons n groups of schoolchildren went outside and decided to visit Polycarpus to celebrate his birthday. We know that […] C++, Codeforces 4.49k 0 0
t0ur1st 6 年前 数学 【Codeforces】1213C – Book Reading Problem Description: Polycarp is reading a book consisting of n pages numbered from 1 to n. Every time he finishes the page with the number divisible […] C++, Codeforces 5.21k 0 0
t0ur1st 6 年前 水题 【Codeforces】1213A – Chips Moving Problem Description: You are given n chips on a number line. The i-th chip is placed at the integer coordinate . Some chips can have equal coordinates […] C++, Codeforces 5.06k 0 0
t0ur1st 6 年前 数学 【Codeforces】1213B – Bad Prices Problem Description: Polycarp analyzes the prices of the new berPhone. At his disposal are the prices for n last days: ,,…,, where is the price of be […] C++, Codeforces 5.2k 0 0