文章分类 -  前缀和

摘要:C - Nuske vs Phantom Thnook Time limit : 4sec / Memory limit : 256MB Score : 700 points Problem Statement Nuske has a grid with N rows and M columns o 阅读全文
posted @ 2017-09-26 14:55 KingSann 阅读(179) 评论(0) 推荐(0)
摘要:E. Turn Off The TV time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Luba needs your help 阅读全文
posted @ 2017-09-24 17:23 KingSann 阅读(309) 评论(0) 推荐(0)
摘要:前缀和+差分 一段区间内的t数组和=0 <=> b为这一段区间的中位数 1 #include <iostream> 2 #include <algorithm> 3 #include <cstdio> 4 #include <cstring> 5 #include <cstdlib> 6 using 阅读全文
posted @ 2017-01-30 10:53 KingSann 阅读(126) 评论(0) 推荐(0)