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_28848951_15044.cpp:1:56: error: stray '#' in program
 <code class=" hljs markdown"><span class="hljs-header">#include<cstdio>
                                                        ^
0_0_28848951_15044.cpp:2:27: error: stray '#' in program
 <span class="hljs-header">#include<cstdlib>
                           ^
0_0_28848951_15044.cpp:3:27: error: stray '#' in program
 <span class="hljs-header">#include<cstring>
                           ^
0_0_28848951_15044.cpp:4:27: error: stray '#' in program
 <span class="hljs-header">#include<algorithm>
                           ^
0_0_28848951_15044.cpp:5:27: error: stray '#' in program
 <span class="hljs-header">#define fo(i,j,k) for(int i=j;i<=k;i++)
                           ^
0_0_28848951_15044.cpp:6:27: error: stray '#' in program
 <span class="hljs-header">#define fd(i,j,k) for(int i=j;i>=k;i--)
                           ^
0_0_28848951_15044.cpp:7:27: error: stray '#' in program
 <span class="hljs-header">#define N 510
                           ^
0_0_28848951_15044.cpp:1:1: error: expected unqualified-id before '<' token
 <code class=" hljs markdown"><span class="hljs-header">#include<cstdio>
 ^
0_0_28848951_15044.cpp:5:57: error: 'i' does not name a type
 <span class="hljs-header">#define fo(i,j,k) for(int i=j;i<=k;i++)
                                                         ^
0_0_28848951_15044.cpp:5:62: error: 'i' does not name a type
 <span class="hljs-header">#define fo(i,j,k) for(int i=j;i<=k;i++)
                                                              ^
0_0_28848951_15044.cpp:6:57: error: 'i' does not name a type
 <span class="hljs-header">#define fd(i,j,k) for(int i=j;i>=k;i--)
                                                         ^
0_0_28848951_15044.cpp:6:62: error: 'i' does not name a type
 <span class="hljs-header">#define fd(i,j,k) for(int i=j;i>=k;i--)
                                                              ^
0_0_28848951_15044.cpp:9:7: error: expected primary-expression before '<' token
 int f[<span class="hljs-link_label">N][<span class="hljs-link_reference">N],a[<span class="hljs-link_label">N][<span class="hljs-link_reference">N];
       ^
0_0_28848951_15044.cpp:9:8: error: 'span' was not declared in this scope
 int f[<span class="hljs-link_label">N][<span class="hljs-link_reference">N],a[<span class="hljs-link_label">N][<span class="hljs-link_reference">N];
        ^
0_0_28848951_15044.cpp:9:13: error: expected ']' before 'class'
 int f[<span class="hljs-link_label">N][<span class="hljs-link_reference">N],a[<span class="hljs-link_label">N][<span class="hljs-link_reference">N];
             ^
0_0_28848951_15044.cpp:10:9: error: expected primary-expression before '<' token
 int sum[<span class="hljs-link_label">N],s[<span class="hljs-link_label">N][<span class="hljs-link_reference">N];
         ^
0_0_28848951_15044.cpp:10:10: error: 'span' was not declared in this scope
 int sum[<span class="hljs-link_label">N],s[<span class="hljs-link_label">N][<span class="hljs-link_reference">N];
          ^
0_0_28848951_15044.cpp:10:15: error: expected ']' before 'class'
 int sum[<span class="hljs-link_label">N],s[<span class="hljs-link_label">N][<span class="hljs-link_reference">N];
               ^
0_0_28848951_15044.cpp: In function 'int main()':
0_0_28848951_15044.cpp:13:1: error: expected primary-expression before '<' token
 <span class="hljs-code">    int n,m;
 ^
0_0_28848951_15044.cpp:13:2: error: 'span' was not declared in this scope
 <span class="hljs-code">    int n,m;
  ^
0_0_28848951_15044.cpp:14:1: error: expected primary-expression before '<' token
 <span class="hljs-code">    scanf("%d %d",&n,&m);
 ^
0_0_28848951_15044.cpp:15:1: error: expected primary-expression before '<' token
 <span class="hljs-code">    memset(f,60,sizeof(f));
 ^
0_0_28848951_15044.cpp:16:1: error: expected primary-expression before '<' token
 <span class="hljs-code">    memset(a,60,sizeof(a));
 ^
0_0_28848951_15044.cpp:17:1: error: expected primary-expression before '<' token
 <span class="hljs-code">    fo(i,1,m)
 ^
0_0_28848951_15044.cpp:24:1: error: expected primary-expression before '<' token
 <span class="hljs-code">    fo(i,1,n) f[i][i]=0,a[i][i]=0;
 ^
0_0_28848951_15044.cpp:25:1: error: expected primary-expression before '<' token
 <span class="hljs-code">    fo(k,1,n)
 ^
0_0_28848951_15044.cpp:29:1: error: expected primary-expression before '<' token
 <span class="hljs-code">    fo(i,1,n-1)
 ^
0_0_28848951_15044.cpp:39:1: error: expected primary-expression before '<' token
 <span class="hljs-code">    fo(i,1,n-1)
 ^


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 07:24:38, Gzip enabled