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_37832643_12900.cpp:1:2: error: invalid preprocessing directive #<
 #<bits/stdc++.h>
  ^
0_0_37832643_12900.cpp:4:1: error: 'string' does not name a type
 string s[40005];
 ^
0_0_37832643_12900.cpp: In function 'int main()':
0_0_37832643_12900.cpp:6:2: error: 'ios' has not been declared
  ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
  ^
0_0_37832643_12900.cpp:6:27: error: 'cin' was not declared in this scope
  ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
                           ^
0_0_37832643_12900.cpp:6:39: error: 'cout' was not declared in this scope
  ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
                                       ^
0_0_37832643_12900.cpp:10:9: error: 's' was not declared in this scope
    cin>>s[i];
         ^
0_0_37832643_12900.cpp:14:3: error: 'string' was not declared in this scope
   string ans="";
   ^
0_0_37832643_12900.cpp:17:12: error: expected ';' before 't'
     string t=s[1].substr(i,len);
            ^
0_0_37832643_12900.cpp:20:10: error: 's' was not declared in this scope
      if (s[j].find(t)==-1){
          ^
0_0_37832643_12900.cpp:20:20: error: 't' was not declared in this scope
      if (s[j].find(t)==-1){
                    ^
0_0_37832643_12900.cpp:26:11: error: 't' was not declared in this scope
       if (t<ans) ans=t;
           ^
0_0_37832643_12900.cpp:26:13: error: 'ans' was not declared in this scope
       if (t<ans) ans=t;
             ^
0_0_37832643_12900.cpp:30:7: error: 'ans' was not declared in this scope
       ans=t;
       ^
0_0_37832643_12900.cpp:30:11: error: 't' was not declared in this scope
       ans=t;
           ^
0_0_37832643_12900.cpp:36:54: error: 'ans' was not declared in this scope
   if (anslen==0) cout<<"IDENTITY LOST\n"; else cout<<ans<<endl;
                                                      ^
0_0_37832643_12900.cpp:36:59: error: 'endl' was not declared in this scope
   if (anslen==0) cout<<"IDENTITY LOST\n"; else cout<<ans<<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-26 11:52:08, Gzip enabled