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_26391545_31203.cpp:6:1: error: 'll' does not name a type
 ll maxx[maxn],minn[maxn];
 ^
0_0_26391545_31203.cpp:8:1: error: 'll' does not name a type
 ll val[num];
 ^
0_0_26391545_31203.cpp: In function 'int main()':
0_0_26391545_31203.cpp:12:2: error: 'll' was not declared in this scope
  ll mi,ma,sumi,suma;
  ^
0_0_26391545_31203.cpp:17:9: error: 'maxx' was not declared in this scope
  memset(maxx,0,sizeof(maxx));
         ^
0_0_26391545_31203.cpp:18:9: error: 'minn' was not declared in this scope
  memset(minn,0,sizeof(maxx));
         ^
0_0_26391545_31203.cpp:28:17: error: 'val' was not declared in this scope
   scanf("%lld",&val[i]);
                 ^
0_0_26391545_31203.cpp:31:6: error: 'val' was not declared in this scope
   if(val[i]<minn[t]) minn[t]=val[i];
      ^
0_0_26391545_31203.cpp:32:6: error: 'val' was not declared in this scope
   if(val[i]>maxx[t]) maxx[t]=val[i];
      ^
0_0_26391545_31203.cpp:34:2: error: 'mi' was not declared in this scope
  mi=0,ma=0;
  ^
0_0_26391545_31203.cpp:34:7: error: 'ma' was not declared in this scope
  mi=0,ma=0;
       ^
0_0_26391545_31203.cpp:37:6: error: 'val' was not declared in this scope
   if(val[i]!=minn[t]&&val[i]<mi) mi=val[i];
      ^
0_0_26391545_31203.cpp:38:6: error: 'val' was not declared in this scope
   if(val[i]!=maxx[t]&&val[i]>ma) ma=val[i];
      ^
0_0_26391545_31203.cpp:40:2: error: 'sumi' was not declared in this scope
  sumi=0;
  ^
0_0_26391545_31203.cpp:41:2: error: 'suma' was not declared in this scope
  suma=0;
  ^


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-06-29 12:51:47, Gzip enabled