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_33548401_18300.cpp:1:1: error: 'lude' does not name a type
 lude <bits/stdc++.h>
 ^
0_0_33548401_18300.cpp: In function 'int Solve()':
0_0_33548401_18300.cpp:19:51: error: 'min' was not declared in this scope
       if(j < i) f[i][j] = min(f[i][j], f[i - 1][j]);
                                                   ^
0_0_33548401_18300.cpp:20:70: error: 'min' was not declared in this scope
       if(j) f[i][j] = min(f[i][j], g[f[i - 1][j - 1] + 1][b[j] - 'a']);
                                                                      ^
0_0_33548401_18300.cpp: In function 'int main()':
0_0_33548401_18300.cpp:28:2: error: 'cin' was not declared in this scope
  cin>>T;
  ^
0_0_33548401_18300.cpp:31:19: error: 'strlen' was not declared in this scope
   n = strlen(a + 1);
                   ^
0_0_33548401_18300.cpp:39:24: error: 'scanf' was not declared in this scope
    scanf("%d%d", &l, &r);
                        ^
0_0_33548401_18300.cpp:40:4: error: 'cout' was not declared in this scope
    cout<<Solve()<<endl;
    ^
0_0_33548401_18300.cpp:40:19: error: 'endl' was not declared in this scope
    cout<<Solve()<<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-06-27 02:22:42, Gzip enabled