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_33859715_14651.cpp:1:2: error: 'include' does not name a type
  include<iostream>
  ^
0_0_33859715_14651.cpp: In function 'void put1yes(int)':
0_0_33859715_14651.cpp:7:2: error: 'cout' was not declared in this scope
  cout<<' ';
  ^
0_0_33859715_14651.cpp: In function 'void put1no(int)':
0_0_33859715_14651.cpp:14:2: error: 'cout' was not declared in this scope
  cout<<'\0';
  ^
0_0_33859715_14651.cpp: In function 'void put2left(int, char)':
0_0_33859715_14651.cpp:21:2: error: 'cout' was not declared in this scope
  cout<<"|";
  ^
0_0_33859715_14651.cpp: In function 'void put2right(int)':
0_0_33859715_14651.cpp:28:2: error: 'cout' was not declared in this scope
  cout<<'\0';
  ^
0_0_33859715_14651.cpp: In function 'void put2all(int)':
0_0_33859715_14651.cpp:35:2: error: 'cout' was not declared in this scope
  cout<<"|";
  ^
0_0_33859715_14651.cpp: At global scope:
0_0_33859715_14651.cpp:48:15: error: 'string' has not been declared
   void imput1(string n){
               ^
0_0_33859715_14651.cpp:64:15: error: 'string' has not been declared
   void imput2(string n,char m){
               ^
0_0_33859715_14651.cpp:79:15: error: 'string' has not been declared
   void imput3(string n){
               ^
0_0_33859715_14651.cpp:93:15: error: 'string' has not been declared
   void imput4(string n,char m){
               ^
0_0_33859715_14651.cpp:104:15: error: 'string' has not been declared
   void imput5(string n){
               ^
0_0_33859715_14651.cpp: In member function 'void space::imput1(int)':
0_0_33859715_14651.cpp:49:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="1"){
          ^
0_0_33859715_14651.cpp:50:6: error: 'cout' was not declared in this scope
      cout<<'\0';
      ^
0_0_33859715_14651.cpp:56:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
     if(n=="4"){
           ^
0_0_33859715_14651.cpp: In member function 'void space::imput2(int, char)':
0_0_33859715_14651.cpp:65:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="1"){
          ^
0_0_33859715_14651.cpp:66:5: error: 'cout' was not declared in this scope
     cout<<'\0';
     ^
0_0_33859715_14651.cpp:71:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="2"|n=="3"|n=="7"){
          ^
0_0_33859715_14651.cpp:71:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="2"|n=="3"|n=="7"){
                 ^
0_0_33859715_14651.cpp:71:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="2"|n=="3"|n=="7"){
                        ^
0_0_33859715_14651.cpp:74:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="6"|n=="5")put2left(s,m);
          ^
0_0_33859715_14651.cpp:74:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="6"|n=="5")put2left(s,m);
                 ^
0_0_33859715_14651.cpp:75:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="4"|n=="8"|n=="9"|n=="0"){
          ^
0_0_33859715_14651.cpp:75:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="4"|n=="8"|n=="9"|n=="0"){
                 ^
0_0_33859715_14651.cpp:75:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="4"|n=="8"|n=="9"|n=="0"){
                        ^
0_0_33859715_14651.cpp:75:31: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="4"|n=="8"|n=="9"|n=="0"){
                               ^
0_0_33859715_14651.cpp: In member function 'void space::imput3(int)':
0_0_33859715_14651.cpp:80:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="1"){
          ^
0_0_33859715_14651.cpp:81:6: error: 'cout' was not declared in this scope
      cout<<'\0';
      ^
0_0_33859715_14651.cpp:86:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="4"|n=="2"|n=="3"|n=="5"|n=="6"|n=="8"|n=="9"){
          ^
0_0_33859715_14651.cpp:86:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="4"|n=="2"|n=="3"|n=="5"|n=="6"|n=="8"|n=="9"){
                 ^
0_0_33859715_14651.cpp:86:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="4"|n=="2"|n=="3"|n=="5"|n=="6"|n=="8"|n=="9"){
                        ^
0_0_33859715_14651.cpp:86:31: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="4"|n=="2"|n=="3"|n=="5"|n=="6"|n=="8"|n=="9"){
                               ^
0_0_33859715_14651.cpp:86:38: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="4"|n=="2"|n=="3"|n=="5"|n=="6"|n=="8"|n=="9"){
                                      ^
0_0_33859715_14651.cpp:86:45: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="4"|n=="2"|n=="3"|n=="5"|n=="6"|n=="8"|n=="9"){
                                             ^
0_0_33859715_14651.cpp:86:52: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="4"|n=="2"|n=="3"|n=="5"|n=="6"|n=="8"|n=="9"){
                                                    ^
0_0_33859715_14651.cpp:89:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="7"|n=="0"){
          ^
0_0_33859715_14651.cpp:89:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="7"|n=="0"){
                 ^
0_0_33859715_14651.cpp: In member function 'void space::imput4(int, char)':
0_0_33859715_14651.cpp:94:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="1"){
          ^
0_0_33859715_14651.cpp:95:5: error: 'cout' was not declared in this scope
     cout<<'\0';
     ^
0_0_33859715_14651.cpp:100:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="2")put2left(s,m);
          ^
0_0_33859715_14651.cpp:101:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="3"|n=="4"|n=="5"|n=="7"|n=="9")put2right(s);
          ^
0_0_33859715_14651.cpp:101:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="3"|n=="4"|n=="5"|n=="7"|n=="9")put2right(s);
                 ^
0_0_33859715_14651.cpp:101:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="3"|n=="4"|n=="5"|n=="7"|n=="9")put2right(s);
                        ^
0_0_33859715_14651.cpp:101:31: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="3"|n=="4"|n=="5"|n=="7"|n=="9")put2right(s);
                               ^
0_0_33859715_14651.cpp:101:38: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="3"|n=="4"|n=="5"|n=="7"|n=="9")put2right(s);
                                      ^
0_0_33859715_14651.cpp:102:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="6"|n=="8"|n=="0")put2all(s);
          ^
0_0_33859715_14651.cpp:102:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="6"|n=="8"|n=="0")put2all(s);
                 ^
0_0_33859715_14651.cpp:102:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="6"|n=="8"|n=="0")put2all(s);
                        ^
0_0_33859715_14651.cpp: In member function 'void space::imput5(int)':
0_0_33859715_14651.cpp:105:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if(n=="1"){
          ^
0_0_33859715_14651.cpp:106:5: error: 'cout' was not declared in this scope
     cout<<'\0';
     ^
0_0_33859715_14651.cpp:112:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
     if(n=="4"|n=="7"){
           ^
0_0_33859715_14651.cpp:112:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
     if(n=="4"|n=="7"){
                  ^
0_0_33859715_14651.cpp: In function 'int setrange(int, int)':
0_0_33859715_14651.cpp:122:2: error: 'cin' was not declared in this scope
  cin>>n;
  ^
0_0_33859715_14651.cpp:124:3: error: 'cout' was not declared in this scope
   cout<<"区间为["<<a<<","<<b<<"],请重新输入:"<<endl;
   ^
0_0_33859715_14651.cpp:124:49: error: 'endl' was not declared in this scope
   cout<<"区间为["<<a<<","<<b<<"],请重新输入:"<<endl;
                                                 ^
0_0_33859715_14651.cpp: In function 'int main()':
0_0_33859715_14651.cpp:136:3: error: 'stringstream' was not declared in this scope
   stringstream ss;
   ^
0_0_33859715_14651.cpp:137:3: error: 'string' was not declared in this scope
   string sss;
   ^
0_0_33859715_14651.cpp:138:3: error: 'ss' was not declared in this scope
   ss<<n;
   ^
0_0_33859715_14651.cpp:139:7: error: 'sss' was not declared in this scope
   ss>>sss;
       ^
0_0_33859715_14651.cpp:143:11: error: expected ';' before 'nn'
    string nn=sss.substr(i,1);
           ^
0_0_33859715_14651.cpp:144:19: error: 'nn' was not declared in this scope
    myspace.imput1(nn);
                   ^
0_0_33859715_14651.cpp:146:4: error: 'cout' was not declared in this scope
    cout<<' ';
    ^
0_0_33859715_14651.cpp:148:3: error: 'cout' was not declared in this sco


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 07:15:17, Gzip enabled