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_28849625_11746.cpp:1:36: error: stray '#' in program
 <span class="token macro property">#<span class="token directive keyword">include</span><span class="token string"><iostream></span></span>
                                    ^
0_0_28849625_11746.cpp:2:36: error: stray '#' in program
 <span class="token macro property">#<span class="token directive keyword">include</span><span class="token string"><string.h></span></span>
                                    ^
0_0_28849625_11746.cpp:1:1: error: expected unqualified-id before '<' token
 <span class="token macro property">#<span class="token directive keyword">include</span><span class="token string"><iostream></span></span>
 ^
0_0_28849625_11746.cpp:3:53: error: expected unqualified-id before '<' token
 using namespace std<span class="token punctuation">;</span>
                                                     ^
0_0_28849625_11746.cpp:4:190: error: expected unqualified-id before '<' token
 <span class="token keyword">int</span> s<span class="token punctuation">[</span><span class="token number">10</span><span class="token punctuation">]</span><span class="token punctuation">;</span>         <span class="token comment">//排序的数据</span>
                                                                                                                                                                                              ^
0_0_28849625_11746.cpp:5:190: error: expected unqualified-id before '<' token
 <span class="token keyword">int</span> f<span class="token punctuation">[</span><span class="token number">10</span><span class="token punctuation">]</span><span class="token punctuation">;</span>         <span class="token comment">//输入的数据</span>
                                                                                                                                                                                              ^
0_0_28849625_11746.cpp:6:190: error: expected unqualified-id before '<' token
 <span class="token keyword">int</span> u<span class="token punctuation">[</span><span class="token number">10</span><span class="token punctuation">]</span><span class="token punctuation">;</span>
                                                                                                                                                                                              ^
0_0_28849625_11746.cpp:7:149: error: expected unqualified-id before '<' token
 <span class="token keyword">int</span> flag<span class="token operator">=</span><span class="token number">0</span><span class="token punctuation">;</span>
                                                                                                                                                     ^
0_0_28849625_11746.cpp:10:34: error: expected unqualified-id before '<' token
 <span class="token punctuation">}</span>
                                  ^


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-26 13:55:47, Gzip enabled