Search found 1 match

by iliketocode
Sun Oct 26, 2014 1:38 am
Forum: Volume 109 (10900-10999)
Topic: 10945 - Mother bear
Replies: 65
Views: 29334

Re: 10945 - Mother bear

Not too sure why i keep getting WA.... hope someone can help me resolve this

#include <stdio.h>
#include <string.h>
#include <ctype.h>
#define MAX 1000

int main(void){
char palindrome[MAX + 1] = {0};
int len, i, j, alpha;

while(fgets(palindrome, MAX, stdin)){
alpha = 0;

len = strlen ...

Go to advanced search