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_35035289_26635.cpp:3:5: error: 'string' does not name a type
     string longestPalindrome(string s) {
     ^
0_0_35035289_26635.cpp:6:5: error: 'string' does not name a type
     string mlc(string ps) {
     ^
0_0_35035289_26635.cpp: In function 'int main()':
0_0_35035289_26635.cpp:86:25: error: 'scanf' was not declared in this scope
     while (~scanf("%s",a)){
                         ^
0_0_35035289_26635.cpp:87:26: error: 'class Solution' has no member named 'mlc'
         printf("%d\n",ss.mlc(a).length());
                          ^
0_0_35035289_26635.cpp:87:41: error: 'printf' was not declared in this scope
         printf("%d\n",ss.mlc(a).length());
                                         ^


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-06-25 14:03:06, Gzip enabled