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_38826839_29087.cpp:1:2: error: invalid preprocessing directive #includ; did you mean #include?
    1 | #includ <iostream>
      |  ^~~~~~
      |  include
0_0_38826839_29087.cpp: In function 'int main()':
0_0_38826839_29087.cpp:8:5: error: 'string' was not declared in this scope
    8 |     string a,b,c;
      |     ^~~~~~
0_0_38826839_29087.cpp:1:1: note: 'std::string' is defined in header '<string>'; did you forget to '#include <string>'?
  +++ |+#include <string>
    1 | #includ <iostream>
0_0_38826839_29087.cpp:9:9: error: 'cin' was not declared in this scope
    9 |         cin>>t;
      |         ^~~
0_0_38826839_29087.cpp:1:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
  +++ |+#include <iostream>
    1 | #includ <iostream>
0_0_38826839_29087.cpp:13:22: error: 'a' was not declared in this scope
   13 |                 cin>>a>>b>>c;
      |                      ^
0_0_38826839_29087.cpp:13:25: error: 'b' was not declared in this scope
   13 |                 cin>>a>>b>>c;
      |                         ^
0_0_38826839_29087.cpp:13:28: error: 'c' was not declared in this scope
   13 |                 cin>>a>>b>>c;
      |                            ^
0_0_38826839_29087.cpp:16:17: error: 'cout' was not declared in this scope
   16 |                 cout<<"Data set "<<k;
      |                 ^~~~
0_0_38826839_29087.cpp:16:17: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
0_0_38826839_29087.cpp:18:17: error: 'memset' was not declared in this scope
   18 |                 memset(y,0,sizeof(y));
      |                 ^~~~~~
0_0_38826839_29087.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
  +++ |+#include <cstring>
    1 | #includ <iostream>
0_0_38826839_29087.cpp:31:32: error: 'endl' was not declared in this scope
   31 |                 cout<<": yes"<<endl;
      |                                ^~~~
0_0_38826839_29087.cpp:1:1: note: 'std::endl' is defined in header '<ostream>'; did you forget to '#include <ostream>'?
  +++ |+#include <ostream>
    1 | #includ <iostream>
0_0_38826839_29087.cpp:33:47: error: 'endl' was not declared in this scope
   33 |                                 cout<<": no"<<endl;
      |                                               ^~~~
0_0_38826839_29087.cpp:33:47: note: 'std::endl' is defined in header '<ostream>'; did you forget to '#include <ostream>'?


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-12 09:50:23, Gzip enabled