啥都不会啊!怎么办啊!

Fitz

慢慢来生活总会好起来的!!!

摘要: 给出一个有n个元素的数组,有以下两种操作:Q x y,求出区间[x,y)内不同元素的个数, M x y,把第x个元素的值修改为y。注意题目中的下标是从0开始的 这题超级超级坑 妈的一个水题找了几个小时的BUG 这样AC 这样WA 吃一堑长一智 妈的毒瘤啊 1 #include <bits/stdc+ 阅读全文
posted @ 2018-07-24 22:21 Fitz~ 阅读(546) 评论(0) 推荐(0) 编辑
摘要: Given a sequence of n numbers a1, a2, ..., an and a number of d-queries. A d-query is a pair (i, j) (1 ≤ i ≤ j ≤ n). For each d-query (i, j), you have 阅读全文
posted @ 2018-07-24 16:10 Fitz~ 阅读(281) 评论(0) 推荐(0) 编辑
摘要: E. XOR and Favorite Number time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output E. XOR and Fa 阅读全文
posted @ 2018-07-24 15:54 Fitz~ 阅读(475) 评论(0) 推荐(0) 编辑
摘要: You come home and fell some unpleasant smell. Where is it coming from? You are given an array a. You have to answer the following queries: The Mex of 阅读全文
posted @ 2018-07-24 11:52 Fitz~ 阅读(311) 评论(0) 推荐(0) 编辑