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_27600015_17035.cpp:1:1: error: 'string' does not name a type
 string s[100005];
 ^
0_0_27600015_17035.cpp: In function 'int main()':
0_0_27600015_17035.cpp:5:5: error: 'cin' was not declared in this scope
     cin.sync_with_stdio(false);
     ^
0_0_27600015_17035.cpp:7:15: error: 'sf' was not declared in this scope
     sf("%d",&c);
               ^
0_0_27600015_17035.cpp:13:9: error: 'string' was not declared in this scope
         string p;
         ^
0_0_27600015_17035.cpp:16:18: error: 's' was not declared in this scope
             cin>>s[i];
                  ^
0_0_27600015_17035.cpp:20:17: error: 'p' was not declared in this scope
                 p=s[i];
                 ^
0_0_27600015_17035.cpp:26:16: error: 'p' was not declared in this scope
             if(p==s[i])continue;
                ^
0_0_27600015_17035.cpp:26:19: error: 's' was not declared in this scope
             if(p==s[i])continue;
                   ^
0_0_27600015_17035.cpp:27:19: error: 'p' was not declared in this scope
             int k=p.find(s[i]);
                   ^
0_0_27600015_17035.cpp:27:26: error: 's' was not declared in this scope
             int k=p.find(s[i]);
                          ^
0_0_27600015_17035.cpp:34:14: error: 'cout' was not declared in this scope
         if(f)cout<<p<<endl;
              ^
0_0_27600015_17035.cpp:34:20: error: 'p' was not declared in this scope
         if(f)cout<<p<<endl;
                    ^
0_0_27600015_17035.cpp:34:23: error: 'endl' was not declared in this scope
         if(f)cout<<p<<endl;
                       ^
0_0_27600015_17035.cpp:35:14: error: 'cout' was not declared in this scope
         else cout<<"No"<<endl;
              ^
0_0_27600015_17035.cpp:35:26: error: 'endl' was not declared in this scope
         else cout<<"No"<<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-09-28 20:10:42, Gzip enabled