编译器的错误提示已经很清楚了。
另外,如果你肯排版一下自己的代码,也能看出来 judge 的定义少了一个}符号
排版后的代码

程序代码:
#include<iostream>
#include<cstring>
#define N 80
using namespace std;
int judge(char st[N],int a)
{
    int len,i;
    len=strlen(st);
    for (i=0;i<len;i++)
        if(st[i]==st[len-1])
        {
            continue;
            return 1;
        }
        else
        {
            return 0;
            break;
        }
int main()
{
    int  i,a,n;
    char st[N];
    for (a=0;a<6;a++)
    {
        cout << "输入第" << a << "个字符串:" << endl;
        gets(st);
        flag=judge(st,N);
        if (flag)
        {
            cout << "是回文" << endl;
            n++;
        }
        else
            cout << "不是回文" << endl;
        a++;
    }
    cout << "有" << n << "个回文字符串" << endl;
    return 0;
}
另外,你的整个代码……,给你一段代码参考一下吧

程序代码:
#include <iostream>
#include <string>
using namespace std;
bool is_palindromic( const std::string& str )
{
    for( size_t i=0; i!=str.size()/2; ++i )
        if( str[i] != str[str.size()-i-1] )
            return false;
    return true;
}
int main( void )
{
    size_t count = 0;
    for( size_t i=0; i!=5; ++i )
    {
        cout << "输入第" << (i+1) << "个字符串:" << endl;
        std::string str;
        getline( cin, str );
        bool flag = is_palindromic( str );
        cout << (flag?"是回文":"不是回文") << endl;
        count += flag;
    }
    cout << "有" << count << "个回文字符串" << endl;
    return 0;
}