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_26640425_15309.cpp:1:70: error: stray '#' in program
 <code class="prism  language-cpp"><span class="token macro property">#<span class="token directive keyword">include</span> <span class="token string"><iostream></span></span>
                                                                      ^
0_0_26640425_15309.cpp:2:36: error: stray '#' in program
 <span class="token macro property">#<span class="token directive keyword">include</span> <span class="token string"><algorithm></span></span>
                                    ^
0_0_26640425_15309.cpp:3:36: error: stray '#' in program
 <span class="token macro property">#<span class="token directive keyword">include</span> <span class="token string"><vector></span></span>
                                    ^
0_0_26640425_15309.cpp:4:36: error: stray '#' in program
 <span class="token macro property">#<span class="token directive keyword">include</span> <span class="token string"><cstring></span></span>
                                    ^
0_0_26640425_15309.cpp:5:36: error: stray '#' in program
 <span class="token macro property">#<span class="token directive keyword">define</span> pr(x) std::cout << #x << ':' << x << std::endl</span>
                                    ^
0_0_26640425_15309.cpp:5:108: error: stray '#' in program
 <span class="token macro property">#<span class="token directive keyword">define</span> pr(x) std::cout << #x << ':' << x << std::endl</span>
                                                                                                            ^
0_0_26640425_15309.cpp:6:36: error: stray '#' in program
 <span class="token macro property">#<span class="token directive keyword">define</span> rep(i,a,b) for(int i = a;i <= b;++i)</span>
                                    ^
0_0_26640425_15309.cpp:7:36: error: stray '#' in program
 <span class="token macro property">#<span class="token directive keyword">define</span> clr(x) memset(x,0,sizeof(x))</span>
                                    ^
0_0_26640425_15309.cpp:8:36: error: stray '#' in program
 <span class="token macro property">#<span class="token directive keyword">define</span> setinf(x) memset(x,0x3f,sizeof(x))</span>
                                    ^
0_0_26640425_15309.cpp:1:1: error: expected unqualified-id before '<' token
 <code class="prism  language-cpp"><span class="token macro property">#<span class="token directive keyword">include</span> <span class="token string"><iostream></span></span>
 ^
0_0_26640425_15309.cpp:6:114: error: 'i' does not name a type
 <span class="token macro property">#<span class="token directive keyword">define</span> rep(i,a,b) for(int i = a;i <= b;++i)</span>
                                                                                                                  ^
0_0_26640425_15309.cpp:6:121: error: expected unqualified-id before '++' token
 <span class="token macro property">#<span class="token directive keyword">define</span> rep(i,a,b) for(int i = a;i <= b;++i)</span>
                                                                                                                         ^
0_0_26640425_15309.cpp:10:194: error: expected unqualified-id before '<' token
 <span class="token keyword">const</span> <span class="token keyword">int</span> N <span class="token operator">=</span> <span class="token number">100007</span><span class="token punctuation">;</span>
                                                                                                                                                                                                  ^
0_0_26640425_15309.cpp:11:263: error: expected unqualified-id before '<' token
 <span class="token keyword">const</span> <span class="token keyword">int</span> P <span class="token operator">=</span> <span class="token number">1e9</span><span class="token operator">+</span><span class="token number">7</span><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-29 23:51:57, Gzip enabled