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_36042524_19997.cpp:1:1: error: 'ude' does not name a type
 ude<bits/stdc++.h>
 ^
0_0_36042524_19997.cpp:3:1: error: 'string' does not name a type
 string a[1001];
 ^
0_0_36042524_19997.cpp: In function 'int main()':
0_0_36042524_19997.cpp:7:25: error: 'scanf' was not declared in this scope
     while(~scanf("%d",&n))
                         ^
0_0_36042524_19997.cpp:12:13: error: 'cin' was not declared in this scope
             cin>>a[i];
             ^
0_0_36042524_19997.cpp:12:18: error: 'a' was not declared in this scope
             cin>>a[i];
                  ^
0_0_36042524_19997.cpp:20:28: error: 'printf' was not declared in this scope
         printf("%.3f\n",sum);
                            ^


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.001000(s) query 1, Server time : 2025-02-28 06:22:56, Gzip enabled