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_21574562_9514.cpp:9:9: error: 'pair' does not name a type
 typedef pair<int,int> P;  
         ^
0_0_21574562_9514.cpp: In function 'int main()':
0_0_21574562_9514.cpp:17:29: error: 'scanf' was not declared in this scope
      while(~scanf("%s%s",a,b))  
                             ^
0_0_21574562_9514.cpp:19:24: error: 'strlen' was not declared in this scope
          int n=strlen(a);  
                        ^
0_0_21574562_9514.cpp:26:51: error: 'max' was not declared in this scope
             dp[i+1][j+1]=max(dp[i+1][j],dp[i][j+1]);  
                                                   ^
0_0_21574562_9514.cpp:27:25: error: 'writeln' was not declared in this scope
         writeln(dp[n][m]);  
                         ^


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-09-30 18:42:44, Gzip enabled