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_31681323_26846.cpp: In function 'int main()':
0_0_31681323_26846.cpp:23:7: error: redeclaration of 'int len1'
   int len1=strlen(str2);
       ^
0_0_31681323_26846.cpp:22:7: note: 'int len1' previously declared here
   int len1=strlen(str1);
       ^
0_0_31681323_26846.cpp:26:17: error: 'len2' was not declared in this scope
   for(int i=0;i<len2;i++)
                 ^
0_0_31681323_26846.cpp:34:7: error: 'print' was not declared in this scope
       print f("c:%d\n",i+97,dp[k][i]);
       ^
0_0_31681323_26846.cpp:36:2: error: expected ';' before '}' token
  }
  ^


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-12-05 07:18:02, Gzip enabled