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_38645248_14927.cpp:15:1: error: 'op' does not name a type; did you mean 'mp'?
 op[N];
 ^~
 mp
0_0_38645248_14927.cpp: In function 'void run()':
0_0_38645248_14927.cpp:20:23: error: 'op' was not declared in this scope
  for(int i=0;i<=n;i++)op[i]=0;
                       ^~
0_0_38645248_14927.cpp:20:23: note: suggested alternative: 'mp'
  for(int i=0;i<=n;i++)op[i]=0;
                       ^~
                       mp
0_0_38645248_14927.cpp:34:9: error: 'op' was not declared in this scope
         op[kv.second]++;
         ^~
0_0_38645248_14927.cpp:34:9: note: suggested alternative: 'ok'
         op[kv.second]++;
         ^~
         ok
0_0_38645248_14927.cpp:39:6: error: 'op' was not declared in this scope
   s-=op[f];
      ^~
0_0_38645248_14927.cpp:39:6: note: suggested alternative: 'ok'
   s-=op[f];
      ^~
      ok


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-07-02 13:10:44, Gzip enabled