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_28835078_24653.cpp: In function 'int main()':
0_0_28835078_24653.cpp:4:20: error: expected unqualified-id before 'long'
 { int i,j,n,m,y,x, long s0,s,a[m][n];
                    ^
0_0_28835078_24653.cpp:6:4: error: 's0' was not declared in this scope
  { s0=0;x=0;y=0;
    ^
0_0_28835078_24653.cpp:9:18: error: 'a' was not declared in this scope
   { scanf("%ld",&a[i][j]);
                  ^
0_0_28835078_24653.cpp:12:27: error: 's' was not declared in this scope
   s0=abs(a[i][j]);x=i;y=j;s=a[x][y];}
                           ^
0_0_28835078_24653.cpp:15:26: error: 's' was not declared in this scope
 printf("%d %d %ld\n",x,y,s);
                          ^


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-10-02 18:32:06, Gzip enabled