摘要:
链接:http://poj.org/problem?id=1023View Code 1 #include <cstdio> 2 #include <cstdlib> 3 #include <cstring> 4 #include <cmath> 5 #include <algorithm> 6 using namespace std; 7 typedef long long LL; 8 int T, N; 9 LL M;10 char s[100];11 int t[100];12 int main( )13 {14 scanf( 阅读全文