摘要:
#include #include const int N = 1000000 + 5;char s[N],t[N];int lens,lent;int next[N];void get_fail() { next[0] = -1; for (int i = 1,j = -1; i < ... 阅读全文
摘要:
#include#include#includeusing namespace std;int main(){ int a[10]; int n; scanf("%d",&n); for(int i = 1; i <= n ; i++) scanf("%d",&... 阅读全文
摘要:
Superbot is an interesting game which you need to control the robot on an N*M grid map.As you see, it's just a simple game: there is a control panel w... 阅读全文