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_22769808_6503.cpp:1:2: error: invalid preprocessing directive #includeusingnamespace
 #includeusingnamespace std;
  ^
0_0_22769808_6503.cpp: In function 'int main()':
0_0_22769808_6503.cpp:13:5: error: 'cin' was not declared in this scope
     cin>>t;
     ^
0_0_22769808_6503.cpp:21:31: error: 'memset' was not declared in this scope
         memset(dp,0,sizeof(dp));for(i=1;i<=n;i++)
                               ^
0_0_22769808_6503.cpp:30:9: error: 'cout' was not declared in this scope
         cout<endl;
         ^
0_0_22769808_6503.cpp:30:14: error: 'endl' was not declared in this scope
         cout<endl;
              ^
0_0_22769808_6503.cpp:32:5: error: 'return0' was not declared in this scope
     return0;
     ^


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-25 18:56:43, Gzip enabled