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_13719387_18723.cpp: In function 'void work()':
0_0_13719387_18723.cpp:7:3: error: 'cin' was not declared in this scope
   cin>>a[i];
   ^
0_0_13719387_18723.cpp:11:3: error: 'cerr' was not declared in this scope
   cerr<<a[i]<<" ";
   ^
0_0_13719387_18723.cpp:13:2: error: 'cerr' was not declared in this scope
  cerr<<endl;
  ^
0_0_13719387_18723.cpp:13:8: error: 'endl' was not declared in this scope
  cerr<<endl;
        ^
0_0_13719387_18723.cpp:18:16: error: 'Abs' was not declared in this scope
    if( Abs(a[i]) > 1){
                ^
0_0_13719387_18723.cpp:20:6: error: 'cout' was not declared in this scope
      cout<<"+";
      ^
0_0_13719387_18723.cpp:22:5: error: 'cout' was not declared in this scope
     cout<<a[i];
     ^
0_0_13719387_18723.cpp:31:5: error: 'cout' was not declared in this scope
     cout<<"+";
     ^
0_0_13719387_18723.cpp:33:4: error: 'cout' was not declared in this scope
    cout<<a[9];
    ^
0_0_13719387_18723.cpp:38:3: error: 'cout' was not declared in this scope
   cout<<0;
   ^
0_0_13719387_18723.cpp:40:2: error: 'cout' was not declared in this scope
  cout<<endl;
  ^
0_0_13719387_18723.cpp: In function 'int main()':
0_0_13719387_18723.cpp:47:2: error: 'cin' was not declared in this scope
  cin >> T;
  ^


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-20 01:50:17, Gzip enabled