Search found 1 match
- Fri Nov 25, 2016 9:25 am
- Forum: Volume 4 (400-499)
- Topic: 455 - Periodic Strings
- Replies: 73
- Views: 25827
Re: 455 - Periodic Strings
I've try many possible string and got the right result. Could anybody help find if there is anything wrong? #include<stdio.h> #include<string.h> char buf[90]; int main(int argc, char const *argv[]) { int Times; scanf("%d", &Times); while(Times--) { const int j = 0; int T = 0; memset(bu...