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_30206237_16545.cpp: In function 'int main()':
0_0_30206237_16545.cpp:12:18: error: 'scanf' was not declared in this scope
     scanf("%d",&t);
                  ^
0_0_30206237_16545.cpp:24:13: error: 'cout' was not declared in this scope
             cout<<1<<endl;
             ^
0_0_30206237_16545.cpp:24:22: error: 'endl' was not declared in this scope
             cout<<1<<endl;
                      ^
0_0_30206237_16545.cpp:29:13: error: 'cout' was not declared in this scope
             cout<<"0"<<endl;
             ^
0_0_30206237_16545.cpp:29:24: error: 'endl' was not declared in this scope
             cout<<"0"<<endl;
                        ^
0_0_30206237_16545.cpp:33:18: error: 'max' was not declared in this scope
         p=max(x,y);
                  ^
0_0_30206237_16545.cpp:34:18: error: 'min' was not declared in this scope
         q=min(x,y);
                  ^
0_0_30206237_16545.cpp:35:20: error: 'xx' was not declared in this scope
         int pp=gcd(xx,yy);
                    ^
0_0_30206237_16545.cpp:35:23: error: 'yy' was not declared in this scope
         int pp=gcd(xx,yy);
                       ^
0_0_30206237_16545.cpp:55:13: error: 'cout' was not declared in this scope
             cout<<d[j];
             ^
0_0_30206237_16545.cpp:56:9: error: 'cout' was not declared in this scope
         cout<<endl;
         ^
0_0_30206237_16545.cpp:56:15: error: 'endl' was not declared in this scope
         cout<<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-12-02 14:56:32, Gzip enabled