Search found 1 match

by powerW
Tue Jan 27, 2015 1:51 pm
Forum: Volume 4 (400-499)
Topic: 455 - Periodic Strings
Replies: 73
Views: 28943

Re: 455 - Periodic Strings

Getting WA, please help me :(
#include <stdio.h>
#include <string.h>
#define maxn 39999

int main()
{
int n;

char s[82], a[82], b[82];
freopen("J:\\oj.txt", "rb", stdin);

int count;
scanf("%d", &count);

int l, flag = 0;
for(l = 0; l < count; l++)
{
scanf("%s", s);
n = strlen(s);

int ...

Go to advanced search