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_20959776_25195.cpp:13:42: error: stray '#' in program
     for(i=n-1,j=m-1;i>=1&&j>=1;i--,j--,t++)
                                          ^
0_0_20959776_25195.cpp:13:47: error: stray '#' in program
     for(i=n-1,j=m-1;i>=1&&j>=1;i--,j--,t++)
                                               ^
0_0_20959776_25195.cpp:17:27: error: stray '#' in program
         for(p=i,q=j;p<n;p++,q++)
                           ^
0_0_20959776_25195.cpp:17:32: error: stray '#' in program
         for(p=i,q=j;p<n;p++,q++)
                                ^
0_0_20959776_25195.cpp:17:39: error: stray '#' in program
         for(p=i,q=j;p<n;p++,q++)
                                       ^
0_0_20959776_25195.cpp:17:44: error: stray '#' in program
         for(p=i,q=j;p<n;p++,q++)
                                            ^
0_0_20959776_25195.cpp:21:49: error: stray '#' in program
         p=sum[n-1][m-1]-sum[i][m-1]-sum[n-1][j]+sum[i][j];//正方形中部分的和
                                                 ^
0_0_20959776_25195.cpp:22:32: error: stray '#' in program
         if(abs(t*t-2*p)<=1)ans++;
                                ^
0_0_20959776_25195.cpp:22:37: error: stray '#' in program
         if(abs(t*t-2*p)<=1)ans++;
                                     ^
0_0_20959776_25195.cpp:35:24: error: stray '#' in program
         for(i=1;i<=n;i++)
                        ^
0_0_20959776_25195.cpp:35:29: error: stray '#' in program
         for(i=1;i<=n;i++)
                             ^
0_0_20959776_25195.cpp:37:28: error: stray '#' in program
             for(j=1;j<=m;j++)
                            ^
0_0_20959776_25195.cpp:37:33: error: stray '#' in program
             for(j=1;j<=m;j++)
                                 ^
0_0_20959776_25195.cpp:40:39: error: stray '#' in program
                 sum[i][j]=sum[i-1][j]+sum[i][j-1]-sum[i-1][j-1]+e[i][j];//计算以(0,0)和(i,j)为端点的矩阵和
                                       ^
0_0_20959776_25195.cpp:40:69: error: stray '#' in program
                 sum[i][j]=sum[i-1][j]+sum[i][j-1]-sum[i-1][j-1]+e[i][j];//计算以(0,0)和(i,j)为端点的矩阵和
                                                                     ^
0_0_20959776_25195.cpp:43:24: error: stray '#' in program
         for(i=2;i<=n;i++)
                        ^
0_0_20959776_25195.cpp:43:29: error: stray '#' in program
         for(i=2;i<=n;i++)
                             ^
0_0_20959776_25195.cpp:44:28: error: stray '#' in program
             for(j=2;j<=m;j++)
                            ^
0_0_20959776_25195.cpp:44:33: error: stray '#' in program
             for(j=2;j<=m;j++)
                                 ^
0_0_20959776_25195.cpp:45:21: error: stray '#' in program
                 ans+=find(i,j);
                     ^
0_0_20959776_25195.cpp: In function 'int find(int, int)':
0_0_20959776_25195.cpp:13:45: error: expected ')' before ';' token
     for(i=n-1,j=m-1;i>=1&&j>=1;i--,j--,t++)
                                             ^
0_0_20959776_25195.cpp:13:48: error: lvalue required as unary '&' operand
     for(i=n-1,j=m-1;i>=1&&j>=1;i--,j--,t++)
                                                ^
0_0_20959776_25195.cpp:13:51: error: expected primary-expression before ')' token
     for(i=n-1,j=m-1;i>=1&&j>=1;i--,j--,t++)
                                                   ^
0_0_20959776_25195.cpp: In function 'int main()':
0_0_20959776_25195.cpp:35:27: error: expected ')' before ';' token
         for(i=1;i<=n;i++)
                           ^
0_0_20959776_25195.cpp:35:30: error: lvalue required as unary '&' operand
         for(i=1;i<=n;i++)
                              ^
0_0_20959776_25195.cpp:35:33: error: expected primary-expression before ')' token
         for(i=1;i<=n;i++)
                                 ^
0_0_20959776_25195.cpp:43:27: error: expected ')' before ';' token
         for(i=2;i<=n;i++)
                           ^
0_0_20959776_25195.cpp:43:30: error: lvalue required as unary '&' operand
         for(i=2;i<=n;i++)
                              ^
0_0_20959776_25195.cpp:43:33: error: expected primary-expression before ')' token
         for(i=2;i<=n;i++)
                                 ^
0_0_20959776_25195.cpp:44:34: error: lvalue required as unary '&' operand
             for(j=2;j<=m;j++)
                                  ^
0_0_20959776_25195.cpp:44:37: error: expected primary-expression before ')' token
             for(j=2;j<=m;j++)
                                     ^
0_0_20959776_25195.cpp:45:25: error: expected primary-expression before '=' token
                 ans+=find(i,j);
                         ^


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 06:22:22, Gzip enabled