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_13486254_2292.cpp: In function 'int main()':
0_0_13486254_2292.cpp:10:6: error: 'n' was not declared in this scope
  for(n=1;n<=100000;++n)
      ^
0_0_13486254_2292.cpp:25:27: error: 'memset' was not declared in this scope
   memset(tag,0,sizeof(tag));
                           ^
0_0_13486254_2292.cpp:26:15: error: 'n' was not declared in this scope
   scanf("%d",&n);
               ^
0_0_13486254_2292.cpp:29:16: error: 'm' was not declared in this scope
    scanf("%d",&m);
                ^
0_0_13486254_2292.cpp:31:15: error: invalid types 'int [100001][int [325]]' for array subscript
     ++tag[a[i]];
               ^


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-27 01:07:32, Gzip enabled