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_32360604_13164.cpp: In function 'int main()':
0_0_32360604_13164.cpp:18:5: error: 'i' was not declared in this scope
 for(i=0;i<n;i++)          //双重for循环判断字符串出现次数,并用a[i]来记录
     ^
0_0_32360604_13164.cpp:27:5: error: 'i' was not declared in this scope
 for(i=0;i<n;i++)         //设最大值max=0,判断a[i]的最大值即出现最多次,把最大值的下标i赋值给k
     ^


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-19 03:43:17, Gzip enabled