poj 3264
摘要:rmq代码:#include<iostream>#include<fstream>#include<cmath>using namespace std;int n,m;int dp[50001][20];int b[50001][20];int a[50001];void read(){// ifstream cin("in.txt"); int i,j,k,s,t; cin>>n>>m; for(i=1;i<=n;i++) // cin>>a[i]; scanf("%d",&
阅读全文
posted @ 2011-05-18 20:11
浙公网安备 33010602011771号