随笔分类 - 数据结构-单调队列/单调栈
摘要:#include<cstdio> #include<string> #include<cstdlib> #include<cmath> #include<iostream> #include<cstring> #include<set> #include<queue> #include<algori
阅读全文
摘要:题目描述 Farmer John's N (1 include include include include include include include include include include include include include typedef long long ll;
阅读全文
摘要:There is an interesting calculator. It has 3 rows of buttons. Row 1: button 0, 1, 2, 3, ..., 9. Pressing each button appends that digit to the end of
阅读全文
摘要:4月16日,日本熊本地区强震后,受灾严重的阿苏市一养猪场倒塌,幸运的是,猪圈里很多头猪依然坚强存活。当地15名消防员耗时一天解救围困的“猪坚强”。不过与在废墟中靠吃木炭饮雨水存活36天的中国汶川“猪坚强”相比,熊本的猪可没那么幸运,因为它们最终还是没能逃过被送往屠宰场的命运。 我们假设“猪坚强”被困
阅读全文

浙公网安备 33010602011771号