2011年7月24日
摘要: 还能比这道题更水吗。只要看的懂题意直接模拟法写了就行。没编译器的话甚至直接在记事本上写写交了也可以AC的。#include<iostream>using namespace std;const int N=205;char s1[N],s2[N],s12[N],s01[N],s02[N];int c;int ans;bool same(char a[],char b[],int c){ for(int i=1;i<=c;i++) { if(a[i]!=b[i]) return false; } return true;}void f(){ char s[N]; for(int 阅读全文
posted @ 2011-07-24 01:58 不是我干的 阅读(187) 评论(0) 推荐(0)