F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_37610931_19729.cpp:1:2: error: invalid preprocessing directive #incldue
 #incldue<bits/stdc++.h>
  ^
0_0_37610931_19729.cpp: In function 'int main()':
0_0_37610931_19729.cpp:9:2: error: 'cin' was not declared in this scope
  cin>>T;
  ^
0_0_37610931_19729.cpp:10:8: error: 't' was not declared in this scope
  while(t--)
        ^
0_0_37610931_19729.cpp:13:19: error: 'strlen' was not declared in this scope
   int n=strlen(a+1);
                   ^
0_0_37610931_19729.cpp:14:22: error: 'memset' was not declared in this scope
   memset(f,0,sizeof f);
                      ^
0_0_37610931_19729.cpp:23:78: error: 'max' was not declared in this scope
      f[l][r]=max(f[l][r],f[l][r-1]+f[l+1][r]-f[l][r]+(a[l]==a[r])*f[l+1][r-1]);
                                                                              ^
0_0_37610931_19729.cpp:26:3: error: 'cout' was not declared in this scope
   cout<<f[1][n]<<endl
   ^
0_0_37610931_19729.cpp:26:18: error: 'endl' was not declared in this scope
   cout<<f[1][n]<<endl
                  ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-29 21:42:49, Gzip enabled